www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.6 required=5.0 tests=BAYES_50,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <22145156.post@talk.nabble.com> |
Date: | Sun, 22 Feb 2009 02:05:15 -0800 (PST) |
From: | grip <Chandramohan DOT USecure AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | gcc compile problem: error: stray \168 in program |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |