Saturday, January 18, 2020

Error: D8016 '/ZI' and '/Gy-' command-line options are incompatible dotNetTester D:\Registry32\Article_src\cl 1

issues in converting old C++ project into Visual Stuio 2019: I got this error message in converting:

Error D8016 '/ZI' and '/Gy-' command-line options are incompatible dotNetTester D:\Registry32\Article_src\cl 1

  1. Visual Studio error D8016: '/ZI' and '/Gy' command-line options are incompatible
  2. /ZI and /Gy command line options are Incompatible
  3. Note if you get the error command line error d8016 zi
  4. #visual studio编译# Error D8016 '/ZI' and '/Gy-' command-line options are incompatible
  5. warning D9035 while building the project in Visual Studio 17
  6. /Gm (Enable Minimal Rebuild)
  7. Visual Studio solution file headers
  8. how-can-visual-studio-determine-a-solution-files-version

  9. this post offer a good solution and explanation.

  10. How to fix .pch file missing on build?
  11. VCBuild vs. MSBuild: Build system changes in Visual Studio 2010
  12. C++ features deprecated in Visual Studio 2019
  13. Configuring Programs for Windows XP
  14. Upgrade C++ projects from earlier versions of Visual Studio
  15. Update WINVER and _WIN32_WINNT
  16. Using the Windows Headers
  17. visual studio project files
  18. Visual Studio Version Interoperability
  19. Some Useful Links
  20. VB.Net/C# Programming Articles
  21. C1083: Cannot open include file: … : No such file or directory?
  22. Visual Studio 2010: fatal error C1189: #error : shfolder.h/shfolder.lib provide platform independence with versions prior to Windows 2000.
  23. Hi Uttam_D,

    This message will be popped in SDK7.0 if NTDDI_VERSION >= NTDDI_WIN2K. The header file has been deprecated in Windows 2000 or later OS, as the message mentioned, please use the shlobj.h/shell32.lib instead if targetting Windows 2000 or higher.

    I believe it is a by design behavior if you are using SDK7.0A and VS2010. Please note, the minimal supported OS for VC++ 2010 CRT is Windows XP SP3, therefore, always use shlobj.h in VC++ 2010. You can find all the CSIDL definition in the shlobj.h.

    Regards, Yi

  24. winsdk-10/Include/10.0.10240.0/um/ShlObj.h
  25. Shlobj.h file is located under winsdk-10/Include/10.0.10240.0/um/ShlObj.h.


No comments:

Post a Comment