Tuesday, October 20, 2020

Warning D9035 option 'Gm' has been deprecated and will be removed in a future release LargeNumber

whewn I compile a legacy project and ran into this warning:

Warning D9035 option 'Gm' has been deprecated and will be removed in a future release LargeNumber

  1. Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
  2. Try selecting for the Enable Minimal Rebuild option (under C/C++ > Code Generation). After this, the option should show No (/Gm-), not in bold. Make sure you do this for your project(s) (you could have several projects in the solution), and all property pages they inherit from.

    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).

No comments:

Post a Comment