public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jon Grant <jg@jguk.org>
To: gcc@gcc.gnu.org
Subject: cc1.exe: warnings being treated as errors
Date: Mon, 19 Sep 2011 18:00:00 -0000	[thread overview]
Message-ID: <CAGc9Eve3AHNa1AJCQg2E7H398QvG+QSfZm6fbZo2Lioo3LvMTg@mail.gmail.com> (raw)

Hello

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? Just wondering if it could be
removed. Appears superfluous.

If compiling with g++ it is :

cc1plus: warnings being treated as errors

I saw this in two slightly old builds of GCC:
arm-none-eabi-gcc-4.5.1.exe (Sourcery G++ Lite 2010.09-51) 4.5.1
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

Please keep my email address in any replies as I'm not on the mailing list.

Best regards, Jon

             reply	other threads:[~2011-09-19 18:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19 18:00 Jon Grant [this message]
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
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=CAGc9Eve3AHNa1AJCQg2E7H398QvG+QSfZm6fbZo2Lioo3LvMTg@mail.gmail.com \
    --to=jg@jguk.org \
    --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).