------- Comment #8 from pluto at agmk dot net 2010-07-02 08:12 ------- (In reply to comment #7) > Could someone test what clang says here? Their diagnostics are generally > better > than g++. >
$ clang++ pr44499.cpp -c pr44499.cpp:5:9: error: default initialization of an object of const type 'D const' requires a user-provided default constructor const D g_d; ^ 1 error generated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44499