Changes in C++ FE regarding pedwarns to be errors are harmful

Andrew Pinski pinskia@gmail.com
Tue Jan 8 22:45:00 GMT 2008


On 1/8/08, Ismail Dönmez <ismail@pardus.org.tr> wrote:
> Oh that clears up my confusion. So the right fix would be downgrading this
> redefinition problem to be pedwarn instead. But I see no point in creating a
> bug report if its just gonna be closed as invalid, so I hope we can discuss
> if its feasible to downgrade this error to be a pedwarn.

It is already a pedwarn.  Just the C++ front-end enables pedwarn as
being errors by default and downgrades them as being warnings with
-fpermissive.  This is the whole point of -fpermissive.

Thanks,
Andrew Pinski


More information about the Gcc mailing list