| Syntax: | Default: |
| /Tm[+|-] | /Tm- |
Use /Tm to enable debug versions of memory management functions. The debug memory management functions (_debug_calloc, _debug_malloc, new, and so on) are then used in place of the regular memory management functions. This option defines the __DEBUG_ALLOC__ macro.
By default, the compiler uses the regular memory management functions (calloc, malloc, new, etc.), and does not preinitialize their local storage.
When you specify /Tm, the compiler generates additional code at the beginning of every function that preinitializes the local variables for the function, making it easier to find uninitialized local variables. This is equivalent to setting /qinitauto=AA.