运行vc显示command line error d2016:“/01”and  /GZ   command-line options are incompatible.

解决方案 »

  1.   

    “/01”and /GZ  命令行选项是不相容的。
    把 /01 去掉看看
      

  2.   

    cl: 命令行 error D8016 :“/Ox”和“/GZ”命令行选项不兼容
      

  3.   

    /O1  (Minimize Size) = /Og /Os /Oy /Ob1 /Gs /Gf /Gy /Gz __stdcall Specifies the __stdcall calling convention for all prototyped C functions that do not take a variable number of arguments and are not ed as __cdecl or __fastcall. All __stdcall functions must have prototypes. 
      

  4.   

    /GZ:
    Some bugs normally arise only when you switch to a Release build (/O1, /O2, /Ox, or /Og). You can use the /GZ option to enable run-time checks to catch these bugs in a Debug (/Od) build. /GZ is not compatible with /O1, /O2, /Ox, or /Og builds.