I get this error message from time to time (not every time). I am compiling (EDIT: sorry, I didn’t explain here: I really meant "rebuild") my project in mixed mode. And Visual Studio tells me to "recompile with the command line option" -Zm114 "or more." In principle, there is no problem, I just do as VS says.
But there are currently two problems:
Why doesn't this happen every time I rebuild? If I understand correctly, the compiler ran out of memory when compiling my project. So if I do a reconnection that clears all previous work, should it not be over the next time if I don't change anything?
To be safe, I already specified a value of 120 for Zm (i.e. Zm120) in all configurations of this project. Why am I getting an error with this lower value? Or is suggested value 114 just a wild guess of VS?
Zm120
I know this is old, but I ended up here so that I could answer.
Here's a great article on PCH issues . .
1) , ?, . , . , . :
, PCH , CL.EXE .Windows .
( , ), , , :
c1xx: C3859: PCH [... Project.vcxproj] c1xx: : 1455:
2) ? (Zm114 Zm120), Zm120 (Release | Debug) Platform (x86 | x64).
PreferredToolArchtecture x64:
MSBuild , /p: PreferredToolArchtecture = x64 MSBuild. MSBuild Visual Studio, .vcxproj, PropertyGroup, .
, , . .
, . , Visual Studio , , , , x86. , x64. , . , - .
. , , PCH, " " pch.h, " " .
pch.h
Unsurprisingly, Visual Studio broke out very much because of this, in particular, due to numerous errors C3859during the build.
C3859
When parsing the project’s configuration for Inherit, this value was fixed.
Source: https://habr.com/ru/post/1648491/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1648485/add-coordinates-to-image-for-use-as-map-in-leaflet-shiny-and-shinydashboard-packages-in-r&usg=ALkJrhhBD09BhZCfx6db6KpzSBvFn5TyCgMulti-module projects in Swift - xcodePlace the non-geographic mapview object in the Shiny - r applicationHow to get a callback for every second player that is played in Android players - androidHow to declare an array of objects of different types in TypeScript? - typescriptAngularjs $ interval returns fn is not a function - javascriptStrange error - register 2 methods with a different event signature - c #What are the advantages / disadvantages for creating a top-level function in ES6 with or without arrows? - javascriptDecoding ampersand hash strings (& # 124 & # 120 & # 97), etc. - pythonWhich compiler to choose for Qt MinGW or MSVC in which case? - c ++All Articles