Comeau C/C++ 4.3.10.1 (Oct 6 2008 11:28:09) for ONLINE_EVALUATION_BETA2 Copyright 1988-2008 Comeau Computing. All rights reserved. MODE:strict errors C++ C++0x_extensions "ComeauTest.c", line 11: error: ambiguous class member reference -- type "base::dad [with T=derived]" (declared at line 8) used in preference to type "derived::dad" (declared at line 16) printf("%i\n", ((T *)this)->dad::x); ^ detected during instantiation of "void base::go() [with T=derived]" at line 22 1 error detected in the compilation of "ComeauTest.c".