From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FUEOU-0002uR-Ow for garchives@archives.gentoo.org; Fri, 14 Apr 2006 02:50:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k3E2op4U026399; Fri, 14 Apr 2006 02:50:51 GMT Received: from cs.ubishops.ca (CS.ubishops.ca [206.167.194.132]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k3E2n0H8029446 for ; Fri, 14 Apr 2006 02:49:00 GMT Received: from [192.168.0.5] (toronto-HSE-ppp4050394.sympatico.ca [70.48.221.50]) by cs.ubishops.ca (Postfix) with ESMTP id 072B83A7E3 for ; Thu, 13 Apr 2006 22:48:58 -0400 (EDT) Message-ID: <443F0DB4.2070203@gentoo.org> Date: Thu, 13 Apr 2006 22:49:24 -0400 From: Patrick McLean User-Agent: Mail/News 1.5 (X11/20060331) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] automatically killing invalid CFLAGS/warning about bad CFLAGS References: <443EAB73.6030804@gentoo.org> <443F076C.8030005@gentoo.org> In-Reply-To: <443F076C.8030005@gentoo.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 37caf1e2-9c0d-4914-9a4c-a7f427e60072 X-Archives-Hash: 2f6a3c568e1fad6211380d27d37206e5 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alec Warner wrote: > > Except you need a way for them to turn it off, and you do not currently > provide one. We can set default flags all we want, but I don't see > filtering 'bad' flags as necessarily our problem. If you want to say: > > "Hey we have had issues with people filing bogus bug reports with CFLAGS > that are completely inappropriate, so by default we check the sanity of > your CFLAGS, this is how you turn those checks off." then I'd be ok with it. > > Most of the Ricers won't read it, and maybe you can print a warning that > CFLAG checking is disabled. > > However leaving it on all the time merely imposes penalties on the power > users who wish to use your profile. Your profile is a tool that should > be useful to all classes of users. > The only flags that are actually removed are the _invalid_ flags. These are the flags that gcc does not accept, and will error out on. The "bad" flags, IE the ones that the developers consider to be broken, but that are accepted by gcc are not filtered, the profile simply prints a warning and pauses for 5 seconds to encourage users to read the warning, it does not automatically filter any flags that the compiler accepts. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEPw20Wt/XSf2CZdkRAotCAJ9pRFXAbPine5qYbycGXoeDWyy+DACaA84z KZ43edqxiv30vniE2e2wxlc= =0vEQ -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list