This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gt-c-pragma.h:46: parse error before `__attribute__'
- From: Mehmet dot Ekici at alcatel dot com dot tr
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 26 Apr 2006 15:26:17 +0300
- Subject: gt-c-pragma.h:46: parse error before `__attribute__'
Hi All,
I am getting an error while compiling gcc -4.0.3
bt0puk:/home/mekici/gcc> uname -a
SunOS bt0puk 5.8 Generic_117350-08 sun4u sparc
bt0puk:/home/mekici/gcc> ./gcc-4.0.3/configure --prefix=/home/mekici/gcc
--target=mips --disable-threads --with-newlib --disable-shared
--enable-languages=c --with-stabs --nfp --with-gnu-as --with-gnu-l
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -I.
-I.././gcc-4.0.3/gcc -I.././gcc-4.0.3/gcc/. -I.././gcc-4.0.3/gcc/../include
-I./../intl -I.././gcc-4.0.3/gcc/../libcpp/include
.././gcc-4.0.3/gcc/c-pragma.c -o c-pragma.o
In file included from .././gcc-4.0.3/gcc/c-pragma.c:707:
gt-c-pragma.h:46: parse error before `__attribute__'
make[1]: *** [c-pragma.o] Error 1
make[1]: Leaving directory `/home/mekici/gcc/gcc'
make: *** [all-gcc] Error 2
bt0puk:/home/mekici/gcc> vi .././gcc-4.0.3/gcc/c-pragma.c
".././gcc-4.0.3/gcc/c-pragma.c" [New file]