6 Jun
2003
6 Jun
'03
07:05
On Friday 06 June 2003 14:49, John Lamb wrote:
Verdi March wrote:
I got an error when compiling a C++ file: Host.h:76: error: stray '\240' in program
The offending line is simply: static int getTotalHost();
Any ideas?
I had a similar error a couple of days ago. It was an extraneous hidden character I'd typed by accident. Try deleting all the whitespace in the line and then padding it out with spaces. That shoud clear the \240 character, which probably won't show in the source code.
You're right. Using vi, I saw "int|getHost" instead of "int getHost". Replacing that character with whitespace makes compilation succeed. -- -- Verdi March --