Jun Kuriyama <[EMAIL PROTECTED]> 22 lines of wisdom included: > > When I tried make world with CFLAGS="-g -pipe" in make.conf, I got > a result below. > > Is buildworld without CFLAGS=-O not supported? > > ===> bin/df > cc -pipe -g -I/usr/src/bin/df/../../sbin/mount -Werror -Wall -Wno-format-y2k -W >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual >-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized -Wformat=2 >-Wno-format-extra-args -Werror -c /usr/src/bin/df/df.c > cc1: warnings being treated as errors > cc1: warning: -Wuninitialized is not supported without -O > *** Error code 1
The problem here, as is fairly self-evident is that you cannot compile with -Wuninitialized without a -O flag because it produces warnings that can only be seen through optomisation (it's got to do with automatic variables, see gcc(1) for details). See if this flag exists in /etc/defaults/make.conf, probably in BDECFLAGS, and remove it. Regards, -- Philip Reynolds | RFC Networks Ltd. [EMAIL PROTECTED] | +353 (0)1 8832063 http://people.rfc-networks.ie/~phil | www.rfc-networks.ie To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message