Build portability: enable or disable warnings
Dmitry Samersoff
Dmitry.Samersoff at oracle.com
Mon May 16 18:59:10 UTC 2011
Andrew,
On 2011-05-16 21:12, Andrew Haley wrote:
> On 05/16/2011 05:50 PM, Dmitry Samersoff wrote:
>> Andrew,
>>
>> I guess we can add to build system something like
>>
>> ALT_COMPILER_FLAGS
>>
>> and turn on all warnings and -Werror by default.
>>
>> Having zero-warning build is good practice and it's not too costly.
>
> It'd drive you mad. gcc's -Wall is really not suitable to be enabled
> by default; it was never intended for that.
OK.
But in this case we have no reliable way to deal with "semi-crazy
distros" as all our attempts to disable all but some important warnings
could be blocked by theirs patches.
-Dmitry
--
Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...
More information about the build-dev
mailing list