On 05/04/2015 01:17 PM, Paolo Carlini wrote:
This regression is a more subtle variant of c++/65858: if the user passes -Wno-error=narrowing the pedwarn didn't result in an actual error (even if we are forcing -pedantic-errors around it) but produces anyway a warning, thus returns true, and ok isn't set to true, thus we have a miscompilation in this case too. Jakub suggested simply checking by hand errorcount, which passes all my tests.
OK. Jason