[PATCH] (Title Corrected) Build fails to compile jchuff.c using gcc 4.8.5 on zLinux

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Jan 17 13:05:54 UTC 2018


On 01/17/2018 01:56 PM, Adam Farley8 wrote:
> If this is the consensus, then perhaps we should consider setting
> --disable-warnings-as-errors by default (in the code), rather than
> depending on the user using an option which is not part of the formal
> build instructions.

I'm not sure why. Building OpenJDK from source isn't exactly something
that is done by normal users. If someone is willing to hack on the OpenJDK
code base, I would assume they know about -Werror and similar options and
how to control them.

I mean, yes, you can change that to have -Werror turned off by default,
but having the compiler complain less is usually a bad idea.

Adrian

-- 
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the build-dev mailing list