r184068 - Add warning group -Wdeprecated-register for C++11 warning on 'register' being

Stephen Kelly steveire at gmail.com
Mon Jun 17 14:14:04 PDT 2013


Richard Smith wrote:

> How about: we move the three separate -Wdeprecated-* warnings into
> -Wdeprecated, move the two ??? warnings into -Wdeprecated, rename
> -Wdeprecated-declarations to -Wdeprecated-attribute (with a
> compatibility synonym to -Wdeprecated-declarations), and remove it
> from the -Wdeprecated group.

I don't mind what the solution is. 

I don't know if it's important enough to introduce a new option (which would 
presumably be the documented one) which is different to the GCC compatible 
one whose purpose would be changed to compatibility-only (which presumably 
would not be documented?).

Beyond that, I've checked and realized that neither Qt nor KDE explicitly 
uses a -Wdeprecated flag, so I guess for the code I care about it comes from 
the use of -Wall anyway. 

So, I don't mind what the solution is here, but some separation makes sense 
to me.

Thanks,

Steve.





More information about the cfe-commits mailing list