------- Comment #10 from ebotcazou at gcc dot gnu dot org 2005-12-20 17:29 ------- > Created an attachment (id=10535) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10535&action=view) [edit] > fix the #ifndef -> use #ifdef instead
Much better! However: stage1/xgcc -Bstage1/ -B/opt/build/eric/local/gcc/sparc-sun-solaris2.5.1/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/eric/svn/gcc/gcc -I/home/eric/svn/gcc/gcc/. -I/home/eric/svn/gcc/gcc/../include -I./../intl -I/home/eric/svn/gcc/gcc/../libcpp/include -I/opt/build/eric/local/include -I/opt/build/eric/local/include -I/home/eric/svn/gcc/gcc/../libdecnumber -I../libdecnumber /home/eric/svn/gcc/gcc/dfp.c -o dfp.o cc1: warnings being treated as errors In file included from /home/eric/svn/gcc/gcc/../libdecnumber/decContext.h:43, from /home/eric/svn/gcc/gcc/../libdecnumber/decNumber.h:30, from /home/eric/svn/gcc/gcc/../libdecnumber/decimal128.h:50, from /home/eric/svn/gcc/gcc/dfp.c:34: ../libdecnumber/gstdint.h:41: warning: type defaults to 'int' in declaration of'int16_t' gmake[2]: *** [dfp.o] Error 1 gmake[2]: Leaving directory `/opt/build/eric/gcc/gcc' #ifndef _UINT16_T #define _UINT16_T typedef unsigned uint16_t; #endif #ifndef _INT16_T #define _INT16_T typedef int16_t; #endif -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25259