X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:content-type :to:subject; q=dns; s=default; b=LToCKTvY9YujLGyd8KGRJfA6gXkb3iz NLfLKhFmOh3jmxf+xRn/0duTjeD28ZJNJ8RlbUx5eGUFfPCQvoyrROZDp0SHZAK1 KRI0w4tl439A0owo6vcJYOFpnyRV1kiGuNMwNoaVPnETG2N4yXljJKAb4NUd4Qc6 rQdvENDECM2U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:content-type :to:subject; s=default; bh=s3mdMiguz1Fskr933zphtHoMUNc=; b=dNVLm ITMn9eA4utUHDhWSHo9YnT1xr5oG4V1hRq34+k2ojiJ45abkM4lknaUFv0dlIvb4 T21v/RXNn6tsZrMaAGBbzQAa5bpMeDNoMSHWf0hqg8lmepAFZmVLwS9B67+JKkRV zS+5FnNRUZmDdrVdR11uLsEThE06tT9r4fvsE0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: klepario.bluegap.ch Message-ID: <537CF412.9050805@bluegap.ch> Date: Wed, 21 May 2014 20:44:34 +0200 From: Markus Wanner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="=_klepario.bluegap.ch-21526-1400697896-0001-2" To: cygwin AT cygwin DOT com Subject: libc++ doesn't use C99 features --=_klepario.bluegap.ch-21526-1400697896-0001-2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, trying some C++11 features, I recently figured that Cygwin's libstdc++ does not use C99 features. I.e. c++config.h has the following lines: /* Define if C99 functions or macros from , , , , and can be used or exposed. */ /* #undef _GLIBCXX_USE_C99 */ That in turn disables some C++11 features, so that the following example fails to compile (due to its use of std::to_string). #include #include int main() { std::cout << std::to_string(42L) << std::endl; return 0; } Is this a known issue? Regards Markus Wanner --=_klepario.bluegap.ch-21526-1400697896-0001-2 Content-Type: application/pgp-signature; name="signature.asc" Content-Transfer-Encoding: 7bit Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEAREDAAYFAlN89BIACgkQsPwMloDjyo+atACeJK989qNvVk/HLajPJ7fR6rAx vlAAnjBXveVMUk4I/ziEMC+PjLk8f/pB =OGed -----END PGP SIGNATURE----- --=_klepario.bluegap.ch-21526-1400697896-0001-2--