re PR c++/24924 (front end and preprocessor pedantic_errors settings should agree)