This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: C++11 program link failure under GCC 4.8.2-1
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 13 Nov 2013 09:01:45 -0500
- Subject: Re: C++11 program link failure under GCC 4.8.2-1
- Authentication-results: sourceware.org; auth=none
- References: <CAJygYd3KQEhdFBAYO4ONumf=FMvjH1fuiqa4b2F0XGLPBNv2Hw at mail dot gmail dot com> <52815780 dot 2010006 at gmail dot com> <528159F8 dot 2070307 at gmail dot com> <CAJygYd2H7tyjE73=EK2hdo2ZPvWtziU8sUkbgbo5crBtP3JRHQ at mail dot gmail dot com> <CAJygYd2UqXD3e-iguMUB1FUNDmCVmC5D7b1=zHqMVs1kJ8-+qw at mail dot gmail dot com> <5281F8D4 dot 4090809 at gmail dot com> <CAJygYd2TZkAnOFf67TEuQd0_V9Sgz8ZaZwVrVH6tusxRni-r3A at mail dot gmail dot com> <5282ABED dot 7040400 at gmail dot com> <5282BBCF dot 9040703 at cs dot utoronto dot ca> <20131113091502 dot GP427 at calimero dot vinschen dot de>
- Reply-to: cygwin at cygwin dot com
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.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple