C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
C2507
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2507
 
     'identifier' : too many virtual modifiers on the base class
 
     The specified class or structure was declared as virtual more
     than once.
 
     Only one virtual modifier can be used for each base class in a
     list of base classes.
 
     The following is an example of this error:
 
          class A {};
          class B : virtual virtual public A {}; // error
          class C : virtual public A {};         // OK
                                    -♦-