Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 05-17-2004, 07:41 AM   #1
LQ Newbie
Registered: May 2004
Posts: 9

Rep: Reputation: 0
Question Exception Handling

Hi all,
I was trying my hand for the first time on the exception handling at Linux Platform. Here i am facing a very peculiar problem which is that once i make any modification in my source and compile it without dist cleaning the project an error with the following error message is produced.

Error Message:
exception:1037:stray '\257' in the program.

But if i dist clean and reconfigure and then execute it works perfectly fine.

Can anybody help me in coping with this problem.

I am working on g++ and have already included 'include exception handling ' in the compiler options.

Waiting for reply.
Vipin Sharma
Old 05-17-2004, 12:34 PM   #2
LQ Newbie
Registered: May 2004
Location: France
Distribution: mandrake 9.2
Posts: 5

Rep: Reputation: 0
I have had the same error "stray \257" but not one the same problem and for me it came from the fact that I've made some source code copy/paste from konqueror browser to kdevelop c++ editor. When you do that there are some invisible caracter that compiler doesn't recognize and output "stray \257" error. My solution was to delete all blank spaces from the source code copied from konqueror

hope it helps
Old 09-25-2005, 12:05 PM   #3
LQ Newbie
Registered: Sep 2005
Location: Poland
Posts: 1

Rep: Reputation: 0
Yes. Konqueror has problems in copy/paste. The file which has been generated in Kdevelop from pasted text from Konqueror has some kind of trash in it. These are sings beyond 127 decimal number. For me it was \160 which is A0 and these I had after every space.

My error was error: stray '\160' ....
I wrote simple prog which make this trash going to /dev/null .

Last edited by mjoachimiak; 09-25-2005 at 12:07 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Exception Handling C++ Hady Programming 3 07-27-2005 12:07 AM
help createing exception class from base STL exception qwijibow Programming 4 04-20-2005 06:23 AM
Exception handling compilation errors ashwinipahuja Programming 6 07-03-2004 07:46 AM
python; exception handling TheLinuxDuck Programming 2 08-20-2003 03:01 PM
Runtime Exception vs. Exception mikeshn Programming 1 09-22-2002 06:33 AM > Forums > Non-*NIX Forums > Programming

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

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