This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: My"C" Compiled can't compile "{}"
On Mon, Dec 28, 2009 at 03:57:29PM +0000, Greg Chicares wrote:
>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.
Or, the OP could use the test case that Dave Korn suggested:
http://cygwin.com/ml/cygwin/2009-12/msg00943.html
cgf
--
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