Consider the following: ---- cut here ---- class Foo { public: static const double d = 3.3; // Invalid see 9.4.2.1 }; ---- end ----
Is this possibly a g++ extension? -- Summary: Invalid C++ accepted Product: gcc Version: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rnewman at compubrite dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18409