From owner-svn-src-head@FreeBSD.ORG Fri Jul 26 10:27:04 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BD49163A; Fri, 26 Jul 2013 10:27:04 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay005.isp.belgacom.be (mailrelay005.isp.belgacom.be [195.238.6.171]) by mx1.freebsd.org (Postfix) with ESMTP id DAC6520AE; Fri, 26 Jul 2013 10:27:03 +0000 (UTC) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=XcRPbE/61RViQ18Cyf2UWKT165DesunXni6Typ7x5jA= c=1 sm=2 a=xnulW3ATU38A:10 a=ZxPGInapWdQA:10 a=YqRfAJJkAAAA:8 a=uZvujYp8AAAA:8 a=_PAU7rG3nKefrySOl48A:9 a=CjuIK1q_8ugA:10 a=PvG2Zffer3IA:10 a=UIDpq6-GphUA:10 a=PkNVBHQ7kYMaElKaVUgA:9 a=52ONB197B48A:10 a=79zaizEPLzsA:10 a=AsDod6THfi1vPLdkaJ4A:9 a=0CaTwavtbm8A:10 a=_G8qimlXLBUA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApkGAHdO8lFR8YfH/2dsb2JhbABagwY1gxiqGpBigRUXdIIkAQEFViMQCw4KCSUPKh4GE4gUCLkAjS6CTweEBQOQEodMgSqIeIcrgxY6 Received: from 199.135-241-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.241.135.199]) by relay.skynet.be with ESMTP; 26 Jul 2013 12:27:01 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r6QAR0DZ038395; Fri, 26 Jul 2013 12:27:00 +0200 (CEST) (envelope-from tijl@coosemans.org) Date: Fri, 26 Jul 2013 12:26:54 +0200 From: Tijl Coosemans To: David Chisnall Subject: Re: svn commit: r253563 - head/contrib/libstdc++/include/c_std Message-ID: <20130726122654.19448832@kalimero.tijl.coosemans.org> In-Reply-To: <7D9DA326-0F32-44D2-92F9-EED0751F9AE0@FreeBSD.org> References: <201307231023.r6NANhGf065713@svn.freebsd.org> <20130725201948.2f5ae808@kalimero.tijl.coosemans.org> <7D9DA326-0F32-44D2-92F9-EED0751F9AE0@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/r7E=hNkrA_0GDL+DKgKSgXH"; protocol="application/pgp-signature" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jul 2013 10:27:04 -0000 --Sig_/r7E=hNkrA_0GDL+DKgKSgXH Content-Type: multipart/mixed; boundary="MP_/0sT8hdRwNYiLTNcS=tosJed" --MP_/0sT8hdRwNYiLTNcS=tosJed Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 26 Jul 2013 10:43:07 +0100 David Chisnall wrote: > On 25 Jul 2013, at 19:19, Tijl Coosemans wrote: >> This also >> broke compilation of C code with -D_XOPEN_SOURCE=3D500. >=20 > Do you have a test case for this? % cc -c test.c -D_XOPEN_SOURCE=3D500 -Wall -std=3Dgnu89 test.c:5:10: warning: implicit declaration of function 'isnan' [-Wimplicit-function-declaration] return( isnan( d )); ^ 1 warning generated. The isnan function is part of SUSv2: http://pubs.opengroup.org/onlinepubs/7990989775/xsh/isnan.html _XOPEN_SOURCE is handled in sys/cdefs.h. It sets the following macros: #define __XSI_VISIBLE 500 #define __POSIX_VISIBLE 199506 #define __ISO_C_VISIBLE 1990 --MP_/0sT8hdRwNYiLTNcS=tosJed-- --Sig_/r7E=hNkrA_0GDL+DKgKSgXH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlHyTvMACgkQfoCS2CCgtiu2rQD+PemdXObmxkZLmC6xSzDrEW0T IfHslMljqA2p9QqA97YA/09d2xUzkJrPxyqfc7xavYZPjOs7GCHBBgqtNI7oDdVx =kEnp -----END PGP SIGNATURE----- --Sig_/r7E=hNkrA_0GDL+DKgKSgXH--