[cfe-dev] Warnings not raised from a macro: -Wundefined-bool-conversion/-Wtautological-undefined-compare

Joerg Sonnenberger joerg at britannica.bec.de
Wed Nov 5 03:20:04 PST 2014


On Wed, Nov 05, 2014 at 11:58:55AM +0100, miroslav.fontan wrote:
> I think Martin is right. Preprocessor is only textual replacement,
> compiler should not know about this step and compiles code resulting
> from preprocess step.

A lot of people disagree. If you want to force it to give all warnings,
use -save-temps.

Joerg



More information about the cfe-dev mailing list