Re: [squid-users] Disable -Werror when building Squid

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 20 Sep 2013 13:43:06 +1200

On 15/09/2013 10:44 p.m., Jeffrey Walton wrote:
> On Sat, Sep 14, 2013 at 11:59 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>> On 14/09/2013 6:28 a.m., Jeffrey Walton wrote:
>>> I'm trying to get analysis tools on squid, but I'm having trouble due
>>> to -Werror. -Werror is causing a continuous stream of compile and link
>>> failures.
>>>
>>> How does one disable -Werror? INSTALL does not offer any directions or
>>> mention any options.
>>
>> Please start with reporting the warning that is coming out of the compiler.
>> Things will only get worse unless the developers know it needs fixing.
>>
>> You can use possibly use --disable-error-checking if it is a warning being
>> escalated.
> Thanks Amos.
>
> configuring with `--disable-error-checking` has the undesirable effect
> of suppressing warnings (i.e., removing -Wall). I want want the
> opposite: keep -Wall, but remove -Werror because it stops compilation
> on the first warning treated as an error.

Very Sorry. I misdirected you. The configuration option is
--disable-strict-error-checking (note the extra "-strict").

Amos
Received on Fri Sep 20 2013 - 01:43:10 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 20 2013 - 12:00:05 MDT