gcc compile problem: error: stray \168 in program
Dave Korn
dave.korn.cygwin@googlemail.com
Sun Feb 22 14:04:00 GMT 2009
grip wrote:
> gcc test.c -o test.
>
> I get some strange errors which goes like:
>
> test.c: In function `main':
> test.c:5: error: stray '\168' in program
> test.c:5: error: `Test' undeclared (first use in this function)
> test.c:5: error: (Each undeclared identifier is reported only once
> test.c:5: error: for each function it appears in.)
> test.c:5: error: parse error before "this"
> test.c:5: error: stray '\168' in program
>
>
> Had this got something to do with unrecognised double quotes?
Yes. "\168" is the "Diaeresis" mark, not any kind of quote at all.
> Can someone provide some guidance on how to resolve this.
Don't use Microsoft Word to write C source files? The real question is, how
did the file get to be that way in the first place? Do you have an unusual
keyboard layout/mapping?
cheers,
DaveK
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list