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.
C4040
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4040
 
     memory attribute on 'identifier' ignored
 
     The __near, __far, __huge, or __based keyword has no effect in the
     declaration of the given identifier and was ignored.
 
     One cause of this warning is a huge array that is not declared
     globally. Declare huge arrays outside of the main function.
                                    -♦-