[Bug c++/64259] Erroneous "declaration 'struct ...' does not declare anything" when using "typename"

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 12 18:41:57 GMT 2020


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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
GCC 10 still prints the warning:

64259.C:8:30: warning: declaration ‘struct details::B’ does not declare
anything
    8 | using BB = typename details::B;
      |                              ^


More information about the Gcc-bugs mailing list