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.
C4510
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 3) C4510
 
     'class' : default constructor could not be generated
 
     The compiler was unable to generate a default constructor for
     the given class. No constructor was created.
 
     This warning can be caused by having a default constructor for
     the base class that is not accessible by the derived class. An
     inherited constructor from a base class with a different ambient
     memory model can also cause this warning.
 
     This warning can be avoided by specifying a user-defined
     default constructor for the class.
                                    -♦-