Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130123171138.GT20323@brightrain.aerifal.cx>
Date: Wed, 23 Jan 2013 12:11:38 -0500
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: Bug in include/netinet/in.h

On Wed, Jan 23, 2013 at 05:58:13PM +0100, John Spencer wrote:
> On 01/23/2013 05:39 PM, Alexander Stadler wrote:
> >[-Werror=parentheses]
> >/space/build-trunk/trunk/build_dir/target-mips_r2_musl-0.9.8/netifd-2013-01-22.1/interface-ip.c:655:2: error: suggest parentheses around arithmetic in operand of '|' [-Werror=parentheses]
> >cc1: all warnings being treated as errors
> the bug here is -Werror being passed to the compiler, try adding
> --disable-werror to the configure invocation
> 
> (note: using -Werror by default is pretty inept, since it will cause
> build errors on any compiler/libc combination that has not yet been
> tested by the package author)

Normally these kind of warnings are ignored in the system headers and
macro text expanded from macros defined in the system headers. I don't
see any reason we can't "fix" this particular macro however if for
some reason it's still making trouble..

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.