Re: Improving the cxx0x_warning.h diagnostic

2015-11-27 Thread Jonathan Wakely
On 27/11/15 12:53 -0500, NightStrike wrote: You could add a pragma that turns on -Wfatal-errors That might be better, I'll try it, thanks.

Improving the cxx0x_warning.h diagnostic

2015-11-26 Thread Jonathan Wakely
We have lots of headers that do this: #if __cplusplus < 201103L # include #else and that file has a #error (not #warning as the name would suggest). Unfortunately a #error does not stop compilation, so when users try to compile C++11 source code (which includes standard headers) and they don't