differences between Linux and Solaris
Anthony Feick
afeick@hotmail.com
Tue Sep 3 09:26:00 GMT 2002
There is an odd compile difference between Linux and Solaris.
//this works on Solaris:
std::wstring::size_type mult;
//this works on Linux:
long mult;
std::wstring theString;
wchar_t ch = L'a';
bool isUpper = true;
mult = 1;
theString.assign(mult, isUpper ? towupper(ch) : ch);
This isn't a big deal since there is a simple workaround: move the
'towupper' call to a different line.
-Tony
_________________________________________________________________
Join the worldÂs largest e-mail service with MSN Hotmail.
http://www.hotmail.com
More information about the Libstdc++
mailing list