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.
C4005
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4005
 
     'identifier' : macro redefinition
 
     The given identifier was defined twice. The compiler used the
     second macro definition.
 
     This warning can be caused by defining a macro on the command line
     and in the code with a #define directive. It also can be caused
     by macros imported from include files.
 
     To eliminate the warning, either remove one of the definitions or
     use an #undef directive before the second definition.
                                    -♦-