Giorgos Keramidas wrote:
>
> I built a RELENG_4 world today with the following options:
>
> CFLAGS= -O -pipe
> COPTFLAGS= -O -pipe
>
> and it compiled the entire system correctly. I then proceeded to test
> the BDECFLAGS that I had seen recenly in /etc/defaults/make.conf and
> tried to build a world with:
>
> CFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
> -Wcast-qual -Wchar-subscripts -Wconversion -Winline \
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
> -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
>
> which bombed when it was compiling /usr/src/contrib/binutils/gas/expr.c
> with the following error:
>
> [...]/contrib/binutils/gas/expr.c:1566: syntax error before `operatorT'
> [...]/contrib/binutils/gas/expr.c: In function `expr':
>
> Does this mean that -STABLE world can not be built with all warnings enabled?
>
That is probably an extension not suppoted by the "-ansi" flag. That
removes GNU extensions.
Jim
--
[EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve
[EMAIL PROTECTED] http://www.TheHousleys.net
---------------------------------------------------------------------
Artificial intelligence is no match for natural stupidity.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message