[Bug c++/21089] [4.0/4.1 Regression] C++ front-end does not "inline" the static const double
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 28 08:03:00 GMT 2005
------- Additional Comments From nathan at gcc dot gnu dot org 2005-04-28 08:02 -------
the example test case is invalid even with the gnu extension. As with
static const int members, you must have a single out-of-class definition of
the member EVEN IF the member is initialized in class. [9.4.2/4]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21089
More information about the Gcc-bugs
mailing list