言語関係(VC++)
日本語のMSDNとかに訳されていないっぽい箇所があったので。
| /GZ (Catch Release-Build Errors in Debug Build)
| http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/vcrefgz(catchrelease-builderrorsindebugbuild).asp
> /GZ initializes all local variables not explicitly initialized by the program. It fills all memory used by these variables with 0xCC.
VC++のコンパイラでデバッグビルドを実行する際は、ヒープ領域を0XCCで初期化してある。
このことが、リリースビルド時に発生する想定外のバグや警告の原因となっていることがある、ということ。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| /GZ (Catch Release-Build Errors in Debug Build)
| http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/vcrefgz(catchrelease-builderrorsindebugbuild).asp
> /GZ initializes all local variables not explicitly initialized by the program. It fills all memory used by these variables with 0xCC.
VC++のコンパイラでデバッグビルドを実行する際は、ヒープ領域を0XCCで初期化してある。
このことが、リリースビルド時に発生する想定外のバグや警告の原因となっていることがある、ということ。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tag : コンパイルオプション VC++





