This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RF SPU testing] separate errors.c and diagnostic.c functions
- From: "Jonathan Adamczewski" <jadamcze at gmail dot com>
- To: "Manuel López-Ibáñez" <lopezibanez at gmail dot com>
- Cc: "Gcc Patch List" <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 23 Aug 2008 00:48:52 +1000
- Subject: Re: [RF SPU testing] separate errors.c and diagnostic.c functions
- References: <6c33472e0808220716wb96f40fgf76efac7ed709d53@mail.gmail.com>
Tried against r139468, I get the following :
make[2]: Entering directory `/home/jonathan/src/spu-elf/gcc'
gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition -Wc++-compat -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber-I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd
-I../libdecnumber ../../gcc/gcc/config/spu/spu-c.c
In file included from ../../gcc/gcc/config/spu/spu-c.c:28:
../../gcc/gcc/errors.h:32: error: conflicting types for 'warning'
../../gcc/gcc/toplev.h:60: error: previous declaration of 'warning' was here
make[2]: *** [spu-c.o] Error 1
make[2]: Leaving directory `/home/jonathan/src/spu-elf/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/jonathan/src/spu-elf'
make: *** [all] Error 2