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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=jCfb5gp1T4H2j98sPgkbeXBs6NdzZO+C9J2c9PCAA3C9QhQMo/C/K 7AK4Ev5Gvr2mrnpBrJsWmsPD884ytgP+F3lfGZwDV91Uw8ubKfzsEUBFF1/FvoDz siLOUVKrkgzxzRdEpxXCt6XK+gvIMqD+7CEsCHHH9p5Ym3d8Mwm53U= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=dO9HBcTVrzrx/sGo9Gkba1V/7io=; b=Ibye5YXtYFXUuRmU/zCPvsjhf0Lt lXnKDOa7BrKXaAtHcPjEaV5BS5g75/K2sf1fhN/pgapAeErfv6IJizME/epim1N1 BouiwjHK68l824gEZr7v3DV50S7ge+d2SXJ3w/v0CPky6Dc1t67Lhdk+pzDIfgCY SnZKOYBpCUtzUJM= 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=1.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 13 Nov 2013 10:15:02 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: C++11 program link failure under GCC 4.8.2-1 Message-ID: <20131113091502.GP427@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <52815780 DOT 2010006 AT gmail DOT com> <528159F8 DOT 2070307 AT gmail DOT com> <5281F8D4 DOT 4090809 AT gmail DOT com> <5282ABED DOT 7040400 AT gmail DOT com> <5282BBCF DOT 9040703 AT cs DOT utoronto DOT ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KIbT1ud6duwZIwNL" Content-Disposition: inline In-Reply-To: <5282BBCF.9040703@cs.utoronto.ca> User-Agent: Mutt/1.5.21 (2010-09-15) --KIbT1ud6duwZIwNL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 12 18:37, Ryan Johnson wrote: > On 12/11/2013 5:30 PM, JonY wrote: > >Right now, it is guarded by: > >#if !defined(__STRICT_ANSI__) || (__STDC_VERSION__ >=3D 199901L) > > > >Which means non-strict mode and C99 mode, snprintf was not part of > >C++03. I guess (__cplusplus >=3D 201103L) needs to be added to newlib. > Yes, this has come up before [1]. Several *printf variants are > affected IIRC. >=20 > [1] http://cygwin.com/ml/cygwin/2012-04/msg00140.html I wouldn't mind to see patch submissions fixing stuff like that on the newlib mailing list. Not at all. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --KIbT1ud6duwZIwNL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQIcBAEBAgAGBQJSg0MWAAoJEPU2Bp2uRE+gzUoQAKbi4z477reona8TKBwE8411 fcRobWm2BJnqmUDIQyf5pSpRmGogBR/5144QJ/acJL1k6ZvuPmiLB7XdQ1ZvwV4c GdB0EqJb5H5cGEy3yvduBAmWMrhuHHMCnsUSirTndFtPl6uGDxWs7Yu/u8bUnGf4 p9sm6SO7rSEKXIdEJa3/1i7flitD5zREmNim/5SJhdLsK3UlEhPXk86qXSthI0Y6 xlzTOVAJTUixAFqfcgPd7B7xiyaXeuC3XdE72xS6WcZKZAGAWECEEg0Tf2aVOJfQ L2mrv9/4KovnfbrDzDQuwkfFwvoQk/EMbjAskdqV+5dcSlzxtEhryXfCyEezKs22 HEzJZTATfwZ5K5AO1bQhwBIWzfr0ljzPh4hDti4PDilPT1pkga+VsBD5Eu5tifVz pB0u6lTUouYAc1BawgcZHhLor1upfHBCZWAGspHFHUyZ3s7mAW1rYd+GSIEvVYgW j/1MYDnmr0LGtvbnChRLepHuAWJxnSVC4x2pXTHQyJgUO4GzchK6OzakbeJp0gy6 mpmYbzovsqqMpUeB+7nwVBMsQWLWy1dVAXLNF76kmsujo7xRYqyOu1Aghlet/zk5 F1V2C/OMdGxJ5k2e4oDAWNMeBAoEOEOFtHvrjuJqVJAzzQpjCcPgsoKSwG2sh6yP uuq/Hb7yaSS3OCKFRYfS =UbwV -----END PGP SIGNATURE----- --KIbT1ud6duwZIwNL--