My"C" Compiled can't compile "{}"

Greg Chicares gchicares@sbcglobal.net
Mon Dec 28 15:57:00 GMT 2009


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



More information about the Cygwin mailing list