This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: "Erreur" messages when trying to compile
- From: Jack <ostroffjh at sbcglobal dot net>
- To: cygwin-xfree at cygwin dot com
- Cc: jere95 <jeremy120895 at yahoo dot fr>
- Date: Mon, 18 Feb 2013 09:42:24 -0500
- Subject: Re: "Erreur" messages when trying to compile
- References: <1361197597703-96267.post@n5.nabble.com>
- Reply-to: cygwin-xfree at cygwin dot com
On 2013.02.18 09:26, jere95 wrote:
Hi,
I am new to programming and I downloaded cygwin, because I heard it
was a
good gcc compiler. At the moment I am reading this O'reilly book on
C, and I
tried compiling the folowing exemple programme out of the book :
When I try to compile, this c file, typing : /gcc cards.c -o cards/ ,
the
cygwin terminal answers :
What is the problem?
For some reason, your examples are not coming through to the mailing
list.
However, it looks like the messages are very clear. You seem to be
using "(" (left parenthesis) instead of "{" (left curly brace) on many
lines. gcc is expecting a closing parenthesis before the next
semicolon, and it is expecting a semicolon before the next closing
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/