>> Of course there is a third option:
>> * Make pedwarns warnings by default unless -Werror or
>> --pedantic-errors are given (just like the C front-end).

>This makes sense to me.  I have never understood why it is a good idea
>for the C++ and C frontends to differ in this way.

Me too. The current error behavior just seems gratuitous. What was the
rationale for this change to error instead of warn? I am having
problems locating this discussion on gcc-patches.

-benjamin

Reply via email to