http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47396

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-21 
13:38:28 UTC ---
That's a user error.  In C++ you need to provide a definition for static const
data members, even when it is initialized in its declaration.
Just add:
const int test::uri;
somewhere.

Reply via email to