------- Comment #7 from paolo dot carlini at oracle dot com  2009-05-28 09:10 
-------
We had a similar issue elsewhere (see [GLIBCXX_CHECK_C99_TR1]). Essentially,
the issue has nothing to do with C++0x, instead with GNU mode vs strict ansi
mode, and as such is actually *very* old: appears also for -std=c++98 vs
-std=gnu++98, but often it's not noticed because people don't use -std=c++98
very often, as far as I know. The point is simply that the configure check for
those functions, in [GLIBCXX_ENABLE_WCHAR_T] is carried out with the default
C++ compiler, thus including the GNU extensions, that is the -std=gnu++98
behavior. In linux, both modes enable the same wchar_t functions, but that
doesn't happen for mingw, apparently. Is this expected? If you want me to
change the configure test to use -std=c++98 just let me know.


-- 


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

Reply via email to