public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* cc1.exe: warnings being treated as errors
@ 2011-09-19 18:00 Jon Grant
  2011-09-19 18:41 ` Jonathan Wakely
  2011-09-26 10:54 ` Andrew Haley
  0 siblings, 2 replies; 11+ messages in thread
From: Jon Grant @ 2011-09-19 18:00 UTC (permalink / raw)
  To: gcc

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-10-06 22:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-19 18:00 cc1.exe: warnings being treated as errors 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
2011-09-26 16:26   ` Ian Lance Taylor
2011-09-26 16:57     ` Andrew Haley

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).