[RFA/RFC] Remove check of ctype.h include in safe-ctype.h?

Andreas Tobler andreast-list@fgznet.ch
Fri Jul 4 20:33:00 GMT 2008


Andreas Tobler wrote:
> Joel Brobecker wrote:
>>>> 2008-07-03  Joel Brobecker  <brobecker@adacore.com>
>>>>
>>>>         * safe-ctype.h: Remove #error when detecting that ctype.h 
>>>> has been
>>>>         included. Redefine the various macros provided by ctype.h as
>>>>         undefined variables.
>>> This is OK.
>>
>> Thanks, Ian. Now checked in - both in SVN (GCC) and CVS (GDB).
> 
> Breaks bootstrap on x86-apple-darwin.

gcc -m64  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual 
-Wold-style-definition -Wmissing-format-attribute -fno-common 
-DHAVE_CONFIG_H -I. -I. -I/Volumes/development/gcc/head/gcc/gcc 
-I/Volumes/development/gcc/head/gcc/gcc/. 
-I/Volumes/development/gcc/head/gcc/gcc/../include -I./../intl 
-I/Volumes/development/gcc/head/gcc/gcc/../libcpp/include 
-I/usr/local/x86_64/include -I/usr/local/x86_64/include 
-I/Volumes/development/gcc/head/gcc/gcc/../libdecnumber 
-I/Volumes/development/gcc/head/gcc/gcc/../libdecnumber/dpd 
-I../libdecnumber  \
	 
-DLOCALEDIR=\"/Volumes/development/gcc/head/testbin-x86_64/share/locale\" \
	  -c /Volumes/development/gcc/head/gcc/gcc/intl.c -o intl.o
In file included from /usr/include/_wctype.h:63,
                  from /usr/include/wchar.h:114,
                  from /Volumes/development/gcc/head/gcc/gcc/intl.c:85:
/usr/include/ctype.h:230: error: syntax error before '{' token
......
......



More information about the Gcc-patches mailing list