C++ PATCH for c++/46930 (ICE with uninitialized constexpr static data member)

Jason Merrill jason@redhat.com
Tue Dec 14 23:34:00 GMT 2010


A constexpr variable, must be initialized when it is declared; you can't 
forward declare a constexpr variable.  This applies to static data 
members, too.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 46930.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101214/ec33c2d1/attachment.ksh>


More information about the Gcc-patches mailing list