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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The warning is correct.
While static int a; var is used in class.cpp, you have another copy of that in
the main.cpp TU, and there it is defined but unused.

Reply via email to