Q.
Why does my application stop working when I enable optimization?
A.
When VisualDSP++ users enable the compiler optimizer, their application may stop working, making it seem like the optimizer is broken, especially if the code has worked on other platforms and with other compilers. However, there are several subtle programming errors that often only become apparent when the optimizer is enabled.
The attached document discusses these errors and details how to fix them.