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

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed Nov 13 14:01:00 GMT 2013


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



More information about the Cygwin mailing list