Changes in C++ FE regarding pedwarns to be errors are harmful
Benjamin Kosnik
bkoz@redhat.com
Wed Jan 9 18:11:00 GMT 2008
>> 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
More information about the Gcc
mailing list