My"C" Compiled can't compile "{}"
Dave Korn
dave.korn.cygwin@googlemail.com
Mon Dec 28 03:53:00 GMT 2009
Paul McFerrin wrote:
> I discover my C compiler is broken while performing a "configure".
The compiler is fine.
> $ echo "{}" >test.c
Your testcase is nonsense.
> $ cc -O test.c -o test
> test.c:1: error: expected identifier or ‘(’ before ‘{’ token
The compiler correctly told you so. What were you expecting? (Also, what
is 'cc'? Softlink perhaps?)
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list