LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2002, 05:39 AM   #1
azazil
LQ Newbie
 
Registered: Nov 2001
Location: India
Distribution: RedHat 7.1
Posts: 18

Rep: Reputation: 0
Angry 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");
}
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 05:54 PM
How to change the locale by setting the system default locale letdoit Slackware 6 08-18-2011 03:34 AM
"locale not supported by Xlib, locale set to C" Irad Linux - Software 3 06-25-2006 03:59 PM
C locale and system locale johnnydangerous Fedora 4 04-11-2005 03:37 PM
How to make a thread sleep or std::recv timeout? BrianK Programming 3 10-10-2003 02:35 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration