From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1681 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] Problem is static inline Date: Thu, 23 Aug 2012 08:51:54 +0200 Message-ID: <20120823065154.GB10731@port70.net> References: <12609.132.241.65.179.1345698455.squirrel@lavabit.com> <59250.132.241.65.179.1345702298.squirrel@lavabit.com> 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 1345704728 25522 80.91.229.3 (23 Aug 2012 06:52:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2012 06:52:08 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1682-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 23 08:52:08 2012 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 1T4RGx-000861-JN for gllmg-musl@plane.gmane.org; Thu, 23 Aug 2012 08:52:07 +0200 Original-Received: (qmail 18383 invoked by uid 550); 23 Aug 2012 06:52:05 -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 18373 invoked from network); 23 Aug 2012 06:52:05 -0000 Content-Disposition: inline In-Reply-To: <59250.132.241.65.179.1345702298.squirrel@lavabit.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1681 Archived-At: * idunham@lavabit.com [2012-08-22 23:11:38 -0700]: > > I've been trying to get musl compatability patches for libuv merged > > upstream, and I have it building, but there's one sticking point: > > Upstream insists on using --std=c89 (I guess for portability to other > > platforms). > > This makes GCC choke on "long" in . > I tried fixing it, and ended up finding that the issue was the "static > inline" in the header. > note that there are other c99isms in header files eg any header that references a 64 bit int type will pull in long long which is not c89 and in math.h a compound literal is used to manipulate floatingpoint representation these can be worked around with some ifdefs if strict ansi c support is needed..