public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: gcc@gcc.gnu.org
Subject: Re: cc1.exe: warnings being treated as errors
Date: Mon, 26 Sep 2011 10:54:00 -0000	[thread overview]
Message-ID: <4E804597.6060903@redhat.com> (raw)
In-Reply-To: <CAGc9Eve3AHNa1AJCQg2E7H398QvG+QSfZm6fbZo2Lioo3LvMTg@mail.gmail.com>

On 09/19/2011 06:59 PM, Jon Grant wrote:

> 
> I noticed that when compiling C files with GCC and using the -Werror
> option, I see this additional output:
> 
> cc1.exe: warnings being treated as errors
> ./src/main.c: In function 'main':
> ./src/main.c:41:15: error: unused variable 'hello'
> 
> Is the "cc1" line output needed?

Oh, sure.  It's really helpful to see an explanation as to why the
compilation stopped on an apparently legal C program.

Andrew.

  parent reply	other threads:[~2011-09-26  9:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19 18:00 Jon Grant
2011-09-19 18:41 ` Jonathan Wakely
2011-09-24 14:40   ` Jon Grant
2011-09-24 14:55     ` Jonathan Wakely
2011-09-24 15:24       ` Jakub Jelinek
2011-09-26  9:08       ` Jon Grant
2011-09-26  9:30         ` Jonathan Wakely
2011-10-06 23:46           ` Jon Grant
2011-09-26 10:54 ` Andrew Haley [this message]
2011-09-26 16:26   ` Ian Lance Taylor
2011-09-26 16:57     ` Andrew Haley

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=4E804597.6060903@redhat.com \
    --to=aph@redhat.com \
    --cc=gcc@gcc.gnu.org \
    /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).