------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-03 23:20 ------- I think is really a dup of bug 19249. Though the problem here is slightly different as B() is fully defined and calls the default constructor which is not defined.
Comeau C/C++ 4.3.8 (Aug 19 2006 13:36:48) for ONLINE_EVALUATION_Alpha1 Copyright 1988-2006 Comeau Computing. All rights reserved. MODE:strict errors C++ "ComeauTest.c", line 7: error: no default constructor exists for class "V" B() { } // does not mention constructor of V ^ That is what comeau online gives. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29706