This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gcc compile problem: error: stray \168 in program
- From: grip <Chandramohan dot USecure at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 22 Feb 2009 02:05:15 -0800 (PST)
- Subject: gcc compile problem: error: stray \168 in program
Hi all
I am having trouble with gcc and the simplest of programs in C.
To test my gcc installation, I tried this program:
Code:
----
#include <stdio.h>
int main()
{
printf("Test this") ;
return(0);
}
followed by
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?
Can someone provide some guidance on how to resolve this.
Help much appreciated!
--
View this message in context: http://www.nabble.com/gcc-compile-problem%3A-error%3A-stray-%5C168-in-program-tp22145156p22145156.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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/