From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10372 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: swap two macro tests to avoid warning Date: Thu, 11 Aug 2016 14:37:38 -0400 Message-ID: <20160811183738.GD15995@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1470940678 22478 195.159.176.226 (11 Aug 2016 18:37:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2016 18:37:58 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10385-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 11 20:37:55 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1bXurY-0005hD-Vc for gllmg-musl@m.gmane.org; Thu, 11 Aug 2016 20:37:53 +0200 Original-Received: (qmail 18374 invoked by uid 550); 11 Aug 2016 18:37:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18353 invoked from network); 11 Aug 2016 18:37:50 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10372 Archived-At: On Thu, Aug 11, 2016 at 10:34:40AM -0700, Zhao, Weiming wrote: > HI, > > When I use MUSL in some C++ project building, I got the warning of > '__STDC_VERSION__' is not defined As before, if you're getting warnings from the system headers I think there's something wrong with how you have musl and/or your toolchain installed. Can you provide some details on how this is happening? Rich