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

Adam Farley8 adam.farley at uk.ibm.com
Wed Jan 17 12:56:00 UTC 2018

Hi John, David,

>> If you compile jchuff.c (part of javajpeg) without
>> "--disable-warnings-as-errors",
>> then you get an error that kills the build. This is seen in these
>> circumstances:

>Last time this particular discussion came up, the conclusion was that
>hunting for warnings is a lost battle as the generated warnings depend
>heavily on the toolchain used [1,2].

>So, I think for now we're not going to address build errors which occur
>when omitting "--disable-warnings-as-errors" in the configure line.

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.


Best Regards

Adam Farley

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

More information about the build-dev mailing list