Article ID: 135526 - Last Review: December 8, 2003 - Revision: 2.0 FIX: Bad Result If Call Inline Function Twice in ExpressionThis article was previously published under Q135526 On This PageSYMPTOMS
Invalid results may be generated under these conditions:
RESOLUTION
Do not use the above optimizations.
-or- Assign the return value of one of the function calls to a local variable. Then use the local variable in the expression. STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This problem was corrected in Microsoft Visual C++ .NET. MORE INFORMATIONSample Code to Reproduce the ProblemAPPLIES TO
| Article Translations
|
Back to the top
