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.
C2536
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2536
 
     'identifier1::identifier2' : cannot specify explicit initializer
     for arrays
 
     The specified member of a class, structure, or union could not
     be initialized.
 
     This error can be caused if a constructor is not available to
     initialize one or more members of an array. If the size of the
     array is greater than the number of initializers, then a default
     constructor must be defined.
 
     Alternatively, this error can be caused by declaring a nonstatic
     array with the const specifier. This kind of array cannot be
     explicitly initialized.
                                    -♦-