[Bug c++/58908] New: intern compile error
kulow.f at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Oct 28 22:42:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58908
Bug ID: 58908
Summary: intern compile error
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kulow.f at gmail dot com
// compile error with gcc 4.7 .. 4.9, clang < 3.3
// Option: -std=c++11
#include <vector>
struct Pardef_s{};
struct LPardef_s: public Pardef_s
{
LPardef_s(const char*, const char*){}
};
class Glob_c
{
public:
const static std::vector<Pardef_s> Par;
};
const std::vector<Pardef_s> Glob_c::Par=
{
LPardef_s({
"LInitState",
"pInitState"
})};
More information about the Gcc-bugs
mailing list