http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49855
Navin Kumar changed:
What|Removed |Added
CC||navin.kumar at gmail dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45221
Navin Kumar changed:
What|Removed |Added
Version|4.5.0 |4.6.0
--- Comment #11 from Navin Kumar 201
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47429
--- Comment #5 from Navin Kumar 2011-01-24
18:07:45 UTC ---
Hmm. I only need -Wfatal-errors because otherwise a small typo can cause
heavily templated code to go berserk and output 10,000 lines of errors.
Perhaps a compromise is to have the abi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47429
--- Comment #3 from Navin Kumar 2011-01-24
17:42:03 UTC ---
Wouldn't the simple fix be to make it a note() that 'int Blah::test' is private
and the error() be the caller's attempt to use it?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47429
--- Comment #1 from Navin Kumar 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.c
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47429
Summary: -Wfatal-errors hiding line number of offending caller
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo