This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47429] -Wfatal-errors hiding line number of offending caller
- From: "navin.kumar at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 04:50:20 +0000
- Subject: [Bug c++/47429] -Wfatal-errors hiding line number of offending caller
- Auto-submitted: auto-generated
- References: <bug-47429-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47429
--- Comment #1 from Navin Kumar <navin.kumar at gmail dot com> 2011-01-24 04:50:18 UTC ---
(re-pasted error output):
When compiling with g++ -c -Wall -Werror, the output is:
test.cc: In member function âint Evil::test()â:
test.cc:2:6: error: âint Blah::testâ is private
test.cc:6:28: error: within this context
When compiling with g++ -c -Wall -Werror -Wfatal-errors, the output is:
test.cc: In member function âint Evil::test()â:
test.cc:2:6: error: âint Blah::testâ is private
There is no mention of line 6 when "-Wfatal-errors" is used.