"parse error before" bug
張恆修
changht@ismp.iie.ncku.edu.tw
Wed Jul 31 00:54:00 GMT 2002
hi
i'm compiling a small program go.c like:
----------------------------------------------
#include <stdio.h>
int main(){
printf("parse error after this");
int a;
}
----------------------------------------------
with the error below:
----------------------------------------------
$ gcc go.c -o go
go.c: In function `main':
go.c:4: parse error before `int'
----------------------------------------------
i found removing the line "printf(....);" turns to be OK then.
Evnironment:
Notebook: compaq presario 1700 with PIII 933-M
Windows XP + gcc 2.95.3-5 (Cygwin Setup.exe version 2.249.2.5)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list