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]

Re: PATCH: Fix MinGW bootstrap


Mark Mitchell <mark@codesourcery.com> writes:

> Since Danny has validated this approach, I've applied this fix to
> correct the fact that the bogus -Wformat errors were causing a
> bootstrap failure on Windows.

This breaks bootstrap on ia64:

gcc -c   -DUSE_LIBUNWIND_EXCEPTIONS -O2 -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes    -Werror -fno-common   -DHAVE_CONFIG_H     \
	    -I. -Iada -I../../gcc -I../../gcc/ada -I../../gcc/../include -I../../gcc/../libcpp/include  ../../gcc/ada/raise.c -o ada/raise.o
In file included from ../../gcc/ada/raise.c:98:
../../gcc/unwind.h:35: warning: ignoring #pragma GCC visibility
../../gcc/unwind.h:237: warning: ignoring #pragma GCC visibility
make[2]: *** [ada/raise.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/tmp/cvs/gcc-20041202/Build/gcc'

The warning has always been there, but not been treated as error.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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