This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: stray '\xxx' in program
- From: Stephen torri <storri at torri dot org>
- To: gcc help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 28 Jan 2005 21:16:28 -0500
- Subject: Re: stray '\xxx' in program
- References: <41FAA58E.10205@physik.uni-wuerzburg.de>
On Fri, 2005-01-28 at 21:50 +0100, David Balla wrote:
> Hi,
>
> I get following message when compileing my program:
> myfile.h:1: error: stray '\239' in program
> myfile.h:1: error: stray '\187' in program
> myfile.h:1: error: stray '\191' in program
>
> Maybe it's something trivial, but I couldn't find the explanation of
> this error message. Please, help me out.
>
> David
>
Often I have found this to be non-printable characters in a source file.
In this case look on line 1 of myfile.h. If your text editor cannot see
them you either have to turn on showing non printable characters (e.g.
^C) or use hexedit to review the file.
Once you clear these out of the file you should be able to attempting
compiling.
Stephen