> Torsten,
>
> This is off list, but would/can you share your changes. I am interested in this.
Sure! I wish I could send a patch but I have no CVS checkout available.
But here are the changes "by hand" ;)
{INSTALLDIR}/include/g++-3/std/bastring.h line 338:
...
{ if (length () == 0) return TEXT(""); terminate (); return data ();
... ^^^^^^^^^
{INSTALLDIR}/include/g++-3/string:
...
extern "C++" {
typedef basic_string <char> string;
typedef basic_string <TCHAR> tstring;
typedef basic_string <WCHAR> wstring;
} // extern "C++"
....
I also noticed that the strstream.h needs to be changed to use
TCHAR/charT instead of char to work properly. But haven't done
that so far.
Would be cool if this could be fixed in the next Dev-Cpp release!
(I cc this mail to the dev-cpp-users group)
cheers
--
Torsten
|