cant make instance of std::locale...
I have downloaded STLPort 4.5 and build it on a linux7.1 with GCC2.6
as well as on windows 2000.
My problem is that i am not able to make an instance of stl::locale on
linux machine. It gives me a runtime error as segmentation fault. But it
work fines on windows 2000.
Is there any setting that i have to make for locale on linux machine?
where else i can get the help?
I am writing down the sample code.
#include <iostream>
#include <locale>
void main()
{
std::locale sys(".ocp");
}
|