[cfe-dev] -Wfatal-errors

Chris Lattner clattner at apple.com
Mon Dec 21 00:17:16 PST 2009


On Dec 18, 2009, at 2:11 AM, Christian Adåker wrote:

> Hi.
> 
> I was looking through the TODO file for some simple way of
> contributing to clang, and saw a note about the -Wfatal-errors flag.
> It turned out to be pretty straightforward to fix (by looking at
> -Werror), but I thought I'd send the patch here for comments in case
> I've missed something.

I don't think this is quite right: -pedantic-errors can map to errors as well in the MAP_IGNORE case right above it.  It's close though!

> If everything's fine I'll do the -Wfatal-errors= version too. That
> should be pretty much mimicking -Werror=, right?

Yep, exactly, should be very straight-forward.

Thanks for working on this!

-Chris



More information about the cfe-dev mailing list