[Bug c++/50681] [C++0x] A constexpr identifier in a header file generates undefined symbols in object code.
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Sun Oct 9 18:38:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50681
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
Summary|A constexpr identifier in a |[C++0x] A constexpr
|header file generates |identifier in a header file
|undefined symbols in object |generates undefined symbols
|code. |in object code.
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-09 18:37:56 UTC ---
Yes, you still need a definition, constexpr or not.
More information about the Gcc-bugs
mailing list