DR handling for C++
Mark Mitchell
mark@codesourcery.com
Mon Sep 20 21:08:00 GMT 2004
Matt Austern wrote:
> Isn't the fundamental problem that we're using pedwarns differently in
> the C and C++ front ends? In the C front end you don't even see
> pedwarns unless you use a special compiler flag, and making them into
> errors requires an even more special compiler flag. It's very odd
> that it means something so different in the C++ front end.
>
> This is really going off into a different subject (pedwarn policy, not
> DR policy), but I'd suggest that we:
> 1. Change the C++ front end's pedwarn defaults to match the C front
> end's policy.
> 2. Remove -fpermissive, which #1 will render redundant.
> 3. Go through our pedwarns and decide which ones should be errors,
> which ones should be warnings, and which ones really should just be
> pedwarns.
Yes, that's exactly what I was trying to suggest.
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
More information about the Gcc
mailing list