[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rewritten inttypes module
From: |
Eric Blake |
Subject: |
Re: rewritten inttypes module |
Date: |
Mon, 28 Aug 2006 17:54:59 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Bruno Haible <bruno <at> clisp.org> writes:
> Oops. I missed the fact that the PRI* and SCN* macros are not symmetric.
> SCNX* makes no sense (as you can parse hexadecimal numbers without knowing
> in advance whether to look for uppercase or lowercase hexadecimal digits).
> I remove the SCNX* from the inttypes module. Thanks for reporting it!
Thanks for the quick fix. One more issue - when the replacement is needed,
inttypes-pri.m4 AC_SUBST's PRI_MACROS_BROKEN as the empty string when they
work, rather than defining it to 0; which resulted in lots of preprocessor
compilation errors:
make[2]: Entering directory `/home/eblake/tar/lib'
sed -e 's/@''HAVE_INTTYPES_H''@/1/g' \
-e 's|@''ABSOLUTE_INTTYPES_H''@|"///usr/include/inttypes.h"|g' \
-e 's/@''PRI_MACROS_BROKEN''@//g' \
....
In file included from system.h:424,
from rtapelib.c:35:
./inttypes.h:44:24: operator '||' has no right operand
./inttypes.h:50:24: operator '||' has no right operand
...
--
Eric Blake