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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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