This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++11 program link failure under GCC 4.8.2-1


On Nov 13 09:01, Christopher Faylor wrote:
> On Wed, Nov 13, 2013 at 10:15:02AM +0100, Corinna Vinschen wrote:
> >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__ >= 199901L)
> >> >
> >> >Which means non-strict mode and C99 mode, snprintf was not part of
> >> >C++03. I guess (__cplusplus >= 201103L) needs to be added to newlib.
> >> Yes, this has come up before [1]. Several *printf variants are
> >> affected IIRC.
> >> 
> >> [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.
> 
> What an odd notion.

Yeah, I'm that crazy sometimes.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpvNKldlYf5u.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]