This documentation is archived and is not being maintained.

C Run-Time Warning CRT1006

Visual Studio 2008
STATIC CPPLIB is not supported while building with /clr or /clr:pure

You cannot define _STATIC_CPPLIB when building managed code with the /clr or /clr:pure options.

To correct this warning

  • Do one of the following:

    • Do not define the macro _STATIC_CPPLIB


    • Do not compile with the /clr or /clr:pure option.