This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: My"C" Compiled can't compile "{}"
On 2009-12-28 15:26Z, Paul McFerrin wrote:
> Well, after all of this discussion, my C compiler IS BROKEN. I.E.:
To try your test program with a different compiler, paste it here:
http://www.comeaucomputing.com/tryitout
> echo "main{}" >test.c
If you want a minimal C program that's valid everywhere, use:
$echo "int main() {return 0;}" >test.c
making sure the file ends in a newline character.
--
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