duplicate using declarations

Paolo Carlini paolo.carlini@oracle.com
Thu Mar 14 19:36:00 GMT 2019


Hi Nathan,

On 14/03/19 16:59, Nathan Sidwell wrote:
> I see this is DR 36.
> http://wiki.edg.com/pub/Wg21kona2019/CoreWorkingGroup/cwg_active.html#36
>
> I still think we should drop this check, for one thing we don't apply 
> it consistently (eg, naming an unscoped enum value).

I see that for example current icc enforces the check whereas current 
clang doesn't. Given that the DR is still Open and we changed our 
behavior relatively recently, first blush it doesn't seem 
straightforward to me that we should change it again. That said, I would 
be curious to know why the example has been removed... Not a big deal, 
anyway, if dropping the check makes sense in the bigger picture 
certainly I'm not going to insist ;)

Paolo.



More information about the Gcc-patches mailing list