Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Nov 2000 10:26:40 -0500
From:      James Housley <jim@thehousleys.net>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Today's RELENG_4 and BDECFLAGS
Message-ID:  <3A06CDB0.9AD06047@thehousleys.net>
References:  <20001106172042.A74119@gray.westgate.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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
-- 
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
Artificial intelligence is no match for natural stupidity.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A06CDB0.9AD06047>