From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2662 Path: news.gmane.org!not-for-mail From: Alexander Stadler Newsgroups: gmane.linux.lib.musl.general Subject: Re: Bug in include/netinet/in.h Date: Thu, 24 Jan 2013 20:22:03 +0100 Message-ID: <510189DB.6070106@univie.ac.at> References: <51001259.8040602@univie.ac.at> <510016A5.2000903@barfooze.de> <20130123171138.GT20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1359055325 22382 80.91.229.3 (24 Jan 2013 19:22:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 19:22:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2663-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 24 20:22:18 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 1TySNN-0001cs-Mj for gllmg-musl@plane.gmane.org; Thu, 24 Jan 2013 20:22:17 +0100 Original-Received: (qmail 15989 invoked by uid 550); 24 Jan 2013 19:22:00 -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 15981 invoked from network); 24 Jan 2013 19:22:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=HioSBKTb/mgKO698ss/GCSjUcr1Hjjk63yfIkBI6WJc=; b=gaqNKEGo6LatM/B3i3WpnGs7JV2fyBE11K0iNyriVSGLuseZAD0eZWkJ6Uk4EseTx8yiaVVVX2FYyNw51+v9RmCLuhA5nz4n1AsUdJwlYf49S20YvX23HRt6tVFqVzEjeanMdhTnJmM0N/n3SDZ4V2OFH2Fh+POOZ9ko2Qq9+cw=; User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 In-Reply-To: <20130123171138.GT20323@brightrain.aerifal.cx> X-Univie-Virus-Scan: scanned by ClamAV on jarvis.univie.ac.at Xref: news.gmane.org gmane.linux.lib.musl.general:2662 Archived-At: Am 23.01.2013 18:11, schrieb Rich Felker: > 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 I removed -Werror from CMakeLists.txt of netifd, after that it compiled (with warnings ;-) ). Thank you! (only size shocked me - 450KB (one day before with uClibc 50KB :-/ ))