Build portability: enable or disable warnings
Andrew Haley
aph at redhat.com
Mon May 16 14:47:13 UTC 2011
On 05/16/2011 03:25 PM, Erik Trimble wrote:
> On 5/16/2011 6:03 AM, Andrew Haley wrote:
>> On 05/16/2011 12:08 PM, Dalibor Topic wrote:
>>
>>> 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.
>
> Just so I understand this - you're saying that by running *just* the
> 'gcc' command on different linux systems, that actually implies that gcc
> gets invoked with some set of flags already set? And, that there's no
> way to just invoke "vanilla" gcc ?
It's more that the set of warnings enabled (if any warnings are enabled)
changes.
> If so, that's, ah, mindboggling (not in a good way)...
It is.
Andrew.
More information about the build-dev
mailing list