------- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-16 22:47 ------- This seems like a bug in Sun's compiler. As far as I can tell a ? const struct A : struct A should be valid in C and C++. I think you should both post the patches to gcc-patches@ and make sure you file a bug with Sun too.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37122