[Bug c++/60498] error: 'snprintf' was not declared in this scope

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 11 17:32:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60498

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
As C++ isn't C, obviously it g++ -std=c++11 doesn't define __STDC_VERSION__
macro, but just defines
__STRICT_ANSI__ 1
__cplusplus 201103L
Should be more than enough for cygwin headers to do the right thing.



More information about the Gcc-bugs mailing list