Build portability: enable or disable warnings

Andrew Haley aph at redhat.com
Mon May 16 13:03:32 UTC 2011


On 05/16/2011 12:08 PM, Dalibor Topic wrote:
> On 5/16/11 12:48 PM, Andrew Haley wrote:
>> On 16/05/11 11:22, Dalibor Topic wrote:
>>> Any idea why, for example Fedora's &  Debian's, default warning sets differ?
>>
>> Because the distros patch their versions of gcc.
> 
> I don't see how the implication follows just yet - do you have an example?

Yes.  Debian and Gentoo turn on the -Wformat option by default.

> The reason I'm asking is that I'm wondering if this is something we
> should expect to crop up in different parts of the code base, or
> whether it's a one off due to some specific thing some distros chose
> to do different from each other.

That's hard to say.  It certainly could crop in other parts of the
code base, and I'm surprised it doesn't happen regularly.  I'm rather
appalled that distros do this kind of thing, TBH.

Andrew.



More information about the build-dev mailing list