[ros-kernel] Re: Explorer and GCC 3.4.1

Martin Fuchs martin-fuchs at gmx.net
Sun Jul 18 23:31:30 CEST 2004


Hello FIlip,

> the attached patch gets the Explorer in ReactOS CVS compiling with the 
> just released GCC 3.4.1. It removes the "use namespace std;" thing and 
> replaces it with proper "std::" prefixes. Please consider if it should 
> be commited to CVS.

I think, it's more to be seen as a bug in the MinGW header files.
(see also my post in the MinGW mailing list)

To work around it, just patch the file mingw/include/c++/3.4.1/cwchar:

--- cwchar.org  Sun Jul 18 17:49:43 2004
+++ cwchar      Sun Jul 18 17:50:13 2004
@@ -137,7 +137,7 @@
 #undef wprintf
 #undef wscanf

-#if _GLIBCXX_USE_WCHAR_T || _GLIBCXX_USE_WSTRING
+#if _GLIBCXX_USE_WCHAR_T //|| _GLIBCXX_USE_WSTRING
 namespace std
 {
   using ::wint_t;


Regards,

   Martin


More information about the Ros-kernel mailing list