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

--- Comment #7 from zosrothko at orange dot fr ---
(In reply to Jakub Jelinek from comment #6)
> 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.

Ok but gnu++1 doesn't define __STDC_VERSION__ neither but it compiles
fine...so??

$ g++ -xc++ -std=gnu++11 -dM -E - < /dev/null | sort | grep STDC
#define __GNUC_STDC_INLINE__ 1
#define __STDC_HOSTED__ 1
#define __STDC__ 1

$ g++ -xc++ -std=c++11 -dM -E - < /dev/null | sort | grep STDC
#define __GNUC_STDC_INLINE__ 1
#define __STDC_HOSTED__ 1
#define __STDC__ 1

Reply via email to