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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>(Incidentally, it seems inconsistent that the "declared 'static' but never 
>defined" warning is not emitted for the class (static) member function that 
>also has `static`

Because it really means local linkage which anonymous namespaces have. Also GCC
does not warn about unused static member functions of local linkage classes.

Reply via email to