C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
C4046
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4046
 
     'identifier' : unsized array treated as '__far'
 
     An unsized array was allocated in the far data segment.
 
     This warning occurs under the /Gx command-line option when
     initializing an unsized array of characters with multiple elements,
     as in:
 
          char   StringArray[] = {"Windows", "Windows", "Windows"};
 
     Since no explicit size was given, the data size threshold cannot
     be used.
                                    -♦-