Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 18:58:58 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Current <freebsd-current@FreeBSD.org>
Subject:   CFLAGS=-O and WARN=5
Message-ID:  <7md6slpxr1.wl@black.imgsrc.co.jp>

next in thread | raw e-mail | index | archive | help

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

Stop in /usr/src/bin/df.
*** Error code 1


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7md6slpxr1.wl>