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 18:07:50 +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 #5 from Navin Kumar <navin.kumar at gmail dot com> 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 ability to specify how many errors are
tolerated? Instead of -Wfatal-errors that bombs on the first error, perhaps
-Wfatal-errors=5 that limits the output to 5 errors before failing?