Paste: Comeau on evilgeek's example
        
	
	
	
		| Author: | cpst | 
|---|
		| Mode: | text | 
|---|
		| Date: | Sun, 31 Oct 2010 03:28:20 | 
|---|
	
	Plain Text |
	
	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<T>::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<T>::go() [with T=derived]" at line 22
1 error detected in the compilation of "ComeauTest.c".
	
	
		New Annotation