From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25710 invoked by alias); 18 Feb 2013 14:43:08 -0000 Received: (qmail 25598 invoked by uid 22791); 18 Feb 2013 14:43:07 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org Received: from nm16-vm0.access.bullet.mail.mud.yahoo.com (HELO nm16-vm0.access.bullet.mail.mud.yahoo.com) (66.94.236.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Feb 2013 14:42:26 +0000 Received: from [66.94.237.200] by nm16.access.bullet.mail.mud.yahoo.com with NNFMP; 18 Feb 2013 14:42:25 -0000 Received: from [68.142.198.204] by tm11.access.bullet.mail.mud.yahoo.com with NNFMP; 18 Feb 2013 14:42:25 -0000 Received: from [127.0.0.1] by smtp105.sbc.mail.mud.yahoo.com with NNFMP; 18 Feb 2013 14:42:25 -0000 X-Yahoo-SMTP: uQK22MWswBCKBpZEmcLDxzBiNtxH7V0FvTGeZikrZyTgdEnV Received: from ffortso4 (ostroffjh@64.252.131.118 with login) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 18 Feb 2013 06:42:25 -0800 PST Date: Mon, 18 Feb 2013 14:43:00 -0000 From: Jack Subject: Re: "Erreur" messages when trying to compile To: cygwin-xfree@cygwin.com Cc: jere95 References: <1361197597703-96267.post@n5.nabble.com> In-Reply-To: <1361197597703-96267.post@n5.nabble.com> (from jeremy120895@yahoo.fr on Mon Feb 18 09:26:37 2013) Message-Id: <1361198544.5452.0@ffortso4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2013-02/txt/msg00047.txt.bz2 On 2013.02.18 09:26, jere95 wrote: > Hi, > I am new to programming and I downloaded cygwin, because I heard it=20=20 > was a > good gcc compiler. At the moment I am reading this O'reilly book on=20=20 > C, and I > tried compiling the folowing exemple programme out of the book : >=20 > When I try to compile, this c file, typing : /gcc cards.c -o cards/ ,=20= =20 > the > cygwin terminal answers : >=20 >=20 >=20 > What is the problem? For some reason, your examples are not coming through to the mailing=20=20 list. However, it looks like the messages are very clear. You seem to be=20=20 using "(" (left parenthesis) instead of "{" (left curly brace) on many=20=20 lines. gcc is expecting a closing parenthesis before the next=20=20 semicolon, and it is expecting a semicolon before the next closing=20=20 curly brace. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/