Date: Mon, 9 Jun 2008 23:02:32 +0200 From: "Pietro Cerutti" <gahr@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: bin/124431: [patch] minor revision of BDECFLAGS Message-ID: <1213045352.52117@gahrtop.localhost> Resent-Message-ID: <200806092110.m59LA1PR035334@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124431 >Category: bin >Synopsis: [patch] minor revision of BDECFLAGS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 09 21:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: The FreeBSD Project >Environment: System: FreeBSD 8.0-CURRENT #43: Mon Jun 9 22:19:27 CEST 2008 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: BDECFLAGS contain the -ansi switch, which doesn't allow them to be used to build world (at least, on CURRENT). Since we use a few features from C99, I think it would be good to change the default C standard in BDECFLAGS. >How-To-Repeat: >Fix: --- make.conf.diff begins here --- Index: make.conf =================================================================== RCS file: /home/ncvs/src/share/examples/etc/make.conf,v retrieving revision 1.279 diff -u -u -r1.279 make.conf --- make.conf 17 Jan 2007 12:43:06 -0000 1.279 +++ make.conf 9 Jun 2008 20:56:01 -0000 @@ -77,7 +77,7 @@ # putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf. -Wconversion is not # included here due to compiler bugs, e.g., mkdir()'s mode_t argument. # -#BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ +#BDECFLAGS= -W -Wall -std=c99 -pedantic -Wbad-function-cast -Wcast-align \ # -Wcast-qual -Wchar-subscripts -Winline \ # -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ # -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings --- make.conf.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1213045352.52117>