when I compile a legacy project in VC++ 2017, I ran into this message and take note here:
Warning D9035 option 'Gm' has been deprecated and will be removed in a future release
- Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
- /Gm (Enable Minimal Rebuild)
Try selecting
I had the same problem using Visual Studio 2019, in the end the problem was in a second project I had in the same solution, that had the option set to Yes (/Gm).
Deprecated. Enables minimal rebuild, which determines whether C++ source files that include changed C++ class definitions (stored in header (.h) files) need to be recompiled.
/Gm is deprecated. It may not trigger a build for certain kinds of header file changes. You may safely remove this option from your projects. To improve build times, we recommend you use precompiled headers and incremental and parallel build options instead. For a list of deprecated compiler options, see the Deprecated and Removed Compiler Options section in Compiler Options Listed by Category.
No comments:
Post a Comment