This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50681] [C++0x] A constexpr identifier in a header file generates undefined symbols in object code.
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Oct 2011 18:37:56 +0000
- Subject: [Bug c++/50681] [C++0x] A constexpr identifier in a header file generates undefined symbols in object code.
- Auto-submitted: auto-generated
- References: <bug-50681-4@http.gcc.gnu.org/bugzilla/>
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.