This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/66472] -Wshadow gets confused by using statements in template classes


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66472

--- Comment #5 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #3)
> I compile with g++ -wrapper gdb,--args ... where this gcc was compile with
> -O0 -g. Breaking on warning_at shows that member is a using_decl.

Is there anyway to tell what the using_decl is actually representing? Perhaps
via its type?

I think this is one of those cases where false negatives are more annoying than
false positives are dangerous, thus maybe the warning should be silent for all
using_decl.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]