From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2653 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Bug in include/netinet/in.h Date: Wed, 23 Jan 2013 12:11:38 -0500 Message-ID: <20130123171138.GT20323@brightrain.aerifal.cx> References: <51001259.8040602@univie.ac.at> <510016A5.2000903@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1358961116 13605 80.91.229.3 (23 Jan 2013 17:11:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2013 17:11:56 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2654-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 23 18:12:16 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Ty3rt-0003Ro-KO for gllmg-musl@plane.gmane.org; Wed, 23 Jan 2013 18:12:09 +0100 Original-Received: (qmail 22034 invoked by uid 550); 23 Jan 2013 17:11:52 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22026 invoked from network); 23 Jan 2013 17:11:51 -0000 Content-Disposition: inline In-Reply-To: <510016A5.2000903@barfooze.de> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2653 Archived-At: 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