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

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

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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why do you think so?  Inline variables in C++17 are only variables with
explicit inline keyword or constexpr static data members.  So it is correct
this is rejected.

Are you suggesting the diagnostics should say something like either 'constexpr'
needed ... or static data member needs to be 'inline' ?

Reply via email to