This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
revision r181278 gives me a bootstrap/build error on cygwin for gcc trunk: cc1: warning: unrecognized command line option "-Wno-narrowing"
- From: Christian JÃnsson <christian dot joensson at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Cc: jason at gcc dot gnu dot org
- Date: Fri, 11 Nov 2011 13:02:19 +0100
- Subject: revision r181278 gives me a bootstrap/build error on cygwin for gcc trunk: cc1: warning: unrecognized command line option "-Wno-narrowing"
revision r181278 gives me a bootstrap/build error on cygwin for gcc
trunk like this
gcc-4 -c -g -fkeep-inline-functions -DIN_GCC -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I.
-I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include -I/usr/include -I/usr/include
-I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid
-I../libdecnumber ../../gcc/gcc/varasm.c -o varasm.o
../../gcc/gcc/varasm.c: In function 'default_elf_asm_output_limited_string':
../../gcc/gcc/varasm.c:7534:16: error: 'ELF_ASCII_ESCAPES' undeclared
(first use in this function)
../../gcc/gcc/varasm.c:7534:16: note: each undeclared identifier is
reported only once for each function it appears in
../../gcc/gcc/varasm.c: In function 'default_elf_asm_output_ascii':
../../gcc/gcc/varasm.c:7586:42: error: 'ELF_STRING_LIMIT' undeclared
(first use in this function)
../../gcc/gcc/varasm.c:7601:13: error: 'ASCII_DATA_ASM_OP' undeclared
(first use in this function)
../../gcc/gcc/varasm.c:7601:31: error: expected ')' before string constant
../../gcc/gcc/varasm.c:7601:31: error: too few arguments to function 'fputs'
../../gcc/gcc/varasm.c:7604:13: error: 'ELF_ASCII_ESCAPES' undeclared
(first use in this function)
At top level:
cc1: warning: unrecognized command line option "-Wno-narrowing"
make[3]: *** [varasm.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/local/src/trunk/objdir/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/usr/local/src/trunk/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/local/src/trunk/objdir'
make: *** [all] Error 2
backing off to the prior revision gives me no error like that...
--
Cheers,
/ChJ