views:

386

answers:

2

I use Qt for C++ development, and today I produced a .vcproj file from a .pro file.

I noticed under the vcproj project properties, Qt added this flag into the C/C++ -> Command Line -> Additional Options

-Zm200 

What is -Zm200?

+1  A: 

This limits the maximum heap size for the compiler according to this article. So this doesn't affect your program at all

Eric
+2  A: 

-Zm is Specify Precompiled Header Memory Limit (more info here). It limits the amount of memory the compiler can allocate for processing precompiled headers. For Visual C++ 2008, -Zm200 means limit to 150 MB.

Michael
this is quite strange. if you look at the article pointed out by Eric, that article says 210MB!
ShaChris23
Eric's article refers to VC++ 6.0. My link points to VC++ 2008. 2005 has a different number, 2010 will probably be different still.
Michael
Hey its msdn no one expect them to be either accurate or useful ^^
Eric
lol. +1 Eric for my smile. =p
ShaChris23