-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Git failed when build on /std:c++latest + MSVC on windows #1905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @QuellaZhang, pleasure to meet you! AFAIU |
And: could you describe which revision of Git you are compiling, and using what method ( |
As of 15.9 the feature has been deprecated with the intent of complete removal. The preferred option for incremental builds is still incremental link. Additionally, if incremental builds are still a concern investigating C++ modules would also be worth investigation. |
@cdacamar thanks. I still would like to know how you build Git, as I am unable to find any mention of the |
All we do is checkout the |
…ersions The `/Gm` flag was deprecated, so let's not use it anymore (nor the corresponding `<MinimalRebuild>` tag in the `.vcxproj` files). This fixes git-for-windows#1905. Signed-off-by: Johannes Schindelin <[email protected]>
Hi All,
We (the Microsoft C++ team) use the Git project as a part of our "Real World Code" tests. In our latest version, Git failed when build under /std:c++latest option like below error, I just want to confirm if the flag '/Gm' is very necessary for the project? This will not compatable with 'std:c++latest' any more in future.
Failures:
cl : Command line warning D9035 : option 'Gm' has been deprecated and will be removed in a future release
cl : Command line error D8016 : '/Gm' and '/std:c++latest' command-line options are incompatible
The text was updated successfully, but these errors were encountered: