delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/28/11:24:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 28 Dec 2009 11:24:13 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: My"C" Compiled can't compile "{}"
Message-ID: <20091228162413.GB25890@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4B381883 DOT 7030002 AT columbus DOT rr DOT com> <4B382F92 DOT 4000806 AT gmail DOT com> <4B38CE32 DOT 4070709 AT columbus DOT rr DOT com> <4B38D569 DOT 4030704 AT sbcglobal DOT net>
MIME-Version: 1.0
In-Reply-To: <4B38D569.4030704@sbcglobal.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019