- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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??
- Tags:
- creator 4.1 update 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you provide us the project and steps to reproduce the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check the Compiler optimization setting and "Synthesis Optimization Effort" in build setting for the concerned project in Creator4.1 and Creator4.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Both are set to Exhaustive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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