Date: Sat, 7 Jun 2008 20:06:10 -0700 From: "Garrett Cooper" <yanefbsd@gmail.com> To: current@freebsd.org Subject: Issues compiling latest -CURRENT (warning error flags + optimization level => no go) Message-ID: <7d6fde3d0806072006m5d360bfay41d6f2aeeed2f929@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I'm encountering a series of issues with code quality in building the latest world. I have 4 PR's filed already, but I can't seem to find a way around this issue: cc -O3 -pipe -fno-strict-aliasing -march=prescott -DEDITLINE -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.sbin/ngctl/main.c cc1: warnings being treated as errors /usr/src/usr.sbin/ngctl/main.c: In function 'main': /usr/src/usr.sbin/ngctl/main.c:325: warning: passing argument 1 of 'DoParseCommand' discards qualifiers from pointer target type *** Error code 1 Stop in /usr/src/usr.sbin/ngctl. *** Error code 1 Stop in /usr/src/usr.sbin. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I've tried the usual items: changing const to non-const, changing type as fit, etc but the compile still keeps on failing. Also, I really don't need netgraph... how do I officially skip over netgraph from the compile stage? I think I can use NETGRAPH=no (not documented in the src.conf manpage), but I want to know if there's a different means. Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0806072006m5d360bfay41d6f2aeeed2f929>