Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • The compiler is not allowed to perform optimizations that change observable program behavior. Commented May 11, 2015 at 10:30
  • 1
    Building in Debug. Happens in Debug :/. I already though of that Commented May 11, 2015 at 10:30
  • @Juan maybe the option "Optimize code" is turned on in debug build. Maybe you build debug, but still run release. Commented May 11, 2015 at 10:37
  • @Dialecticus Just checked. Debug has "Optimize code" unchecked. "Release" has it checked Commented May 11, 2015 at 10:45
  • 1
    Also, user usr has a point, there is not enough information in the question, so the question is at fault. I sense we're going to "overchat" the issue, so I better stop it now, before it takes more time from me. Commented May 11, 2015 at 10:53