This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50681] [C++0x] A constexpr identifier in a header file generates undefined symbols in object code.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]