------- Comment #1 from pinskia at gcc dot gnu dot org 2007-02-26 06:46 ------- If you name the class you get: [EMAIL PROTECTED]:~$ gcc t.cc t.cc:8: error: uninitialized const `MyAnonymous'
This has nothing to do with const anonymous class object but just an uninitialized class object in general. You can do: MyAnonymous = {}; To initialized it. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30962