When I converted my project form Creator 4.0to 4.1 Update1, it removed all the code that was in PROTECTED portions of component code.
Has this happened to anyone else??
No, I am unable to provide my workspace.
I have components (uart, isr, spi) that have code in their respective _int files between #START and #END.
Upon the upgrade to 4.1 Updt1, all the code between these was removed.
I have dealt with this by cut and pasting back the code from a saved version.
Further, this has happened at random builds - I have not been able to see a pattern.
It does not happen always with a clean build or partial build.
As I will be working and suddenly stuff that was working would stop.
Debuging will show this code is missing again.
Please check the Compiler optimization setting and "Synthesis Optimization Effort" in build setting for the concerned project in Creator4.1 and Creator4.0
Can you change the "Synthesis Optimization Effort" from Exhaustive to other values in Creator4.1 and then see whether the portion between # defines is getting lost in optimizations or not.
Compiler optimization can also be changed to see the effect