This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: gcc/print-rtl.c (print_rtx) does not build with -Werror


SVN update to revision 124718, configured as:
../../svn/gcc/configure  --prefix=/home/daniel/nfs/packages/i686-pc-linux-gnu/gcc --with-gmp=/home/daniel/nfs/packages/i686-pc-linux-gnu/gmp-4.2.1/ --with-mpfr=/home/daniel/nfs/packages/i686-pc-linux-gnu/mpfr-2.2.1 --disable-nls --enable-threads=posix --enable-shared --enable-bootstrap --enable-version-specific-runtime-libs --with-system-zlib --program-suffix=-svn --enable-languages=c,fortran

results in:

[...]
/home/daniel/svn-build/gcc/./prev-gcc/xgcc -B/home/daniel/svn-build/gcc/./prev-gcc/ -B/home/daniel/nfs/packages/i686-pc-linux-gnu/gcc/i686-pc-linux-gnu/bin/ -c   -O2 -g -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../../svn/gcc/gcc -I../../../svn/gcc/gcc/build -I../../../svn/gcc/gcc/../include -I../../../svn/gcc/gcc/../libcpp/include -I/home/daniel/nfs/packages/i686-pc-linux-gnu/gmp-4.2.1//include -I/home/daniel/nfs/packages/i686-pc-linux-gnu/mpfr-2.2.1/include -I../../../svn/gcc/gcc/../libdecnumber -I../../../svn/gcc/gcc/../libdecnumber/bid -I../libdecnumber    -o 
build/print-rtl.o ../../../svn/gcc/gcc/print-rtl.c
cc1: warnings being treated as errors
../../../svn/gcc/gcc/print-rtl.c: In function 'print_rtx':
../../../svn/gcc/gcc/print-rtl.c:397: error: format '%lx' expects type 'long 
unsigned int', but argument 3 has type 'long int'
make[3]: *** [build/print-rtl.o] Error 1


Regards
	Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]