public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jack <ostroffjh@sbcglobal.net>
To: cygwin-xfree@cygwin.com
Cc: jere95 <jeremy120895@yahoo.fr>
Subject: Re: "Erreur" messages when trying to compile
Date: Mon, 18 Feb 2013 14:43:00 -0000 [thread overview]
Message-ID: <1361198544.5452.0@ffortso4> (raw)
In-Reply-To: <1361197597703-96267.post@n5.nabble.com> (from jeremy120895@yahoo.fr on Mon Feb 18 09:26:37 2013)
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/
next prev parent reply other threads:[~2013-02-18 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 14:26 jere95
2013-02-18 14:43 ` Jack [this message]
2013-02-18 15:18 ` Mark Hansen
2013-02-18 15:37 ` jere95
2013-02-19 0:46 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1361198544.5452.0@ffortso4 \
--to=ostroffjh@sbcglobal.net \
--cc=cygwin-xfree@cygwin.com \
--cc=jeremy120895@yahoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).