BUG: Local Variables Are Overwritten When You Use /ZI and /Od Compiler Switches (318669)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
This article was previously published under Q318669 SYMPTOMS
When you use the /ZI (Program Database for Edit & Continue) and /Od (Disable Optimizations) compiler switches, local variables may be overwritten.
RESOLUTION
To work around this problem, use one of the following methods:
- Use the /Zi (Program Database) switch instead of the /ZI (Program Database for Edit & Continue) switch.
- Use the /RTC1 (Basic Runtime Checks) switch, which is equivalent to the /RTCsu switch.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 7/23/2002 |
---|
Keywords: | kbbug kbCodeGen kbCompiler kbDSupport KB318669 |
---|
|