CW 7.1.2 -- beware code generation?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW 7.1.2 -- beware code generation?

983 Views
RichTestardi
Senior Contributor II

Hi all,

 

I recently updated to CW 7.1.2 and a chunk of my code stopped working...  The generated code clearly looked wrong, and looked very similar to:

 

http://forums.freescale.com/freescale/board/message?board.id=CWCFCOMM&message.id=2633&query.id=24635

 

So I uninstalled CW 7.1 from Control Panel, and reinstalled it with just the 7.1.1 patch...  Unfortunately, that didn't remove 7.1.2 from my system, it seems, so the generated code was still wrong (and Help -> About -> Installed Products still showed 7.1.2).

 

The solution for me way to uninstall CW 7.1 from Control Panel, and then completely remove the "CodeWarrior for ColdFire V7.1"  directory, preserving any license.dat files, and then reinstall CW 7.1 with just the 7.1.1 patch.

 

I just thought since I burned a day here, I might save someone else the trouble.

 

-- Rich

Labels (1)
0 Kudos
1 Reply

226 Views
J2MEJediMaster
Specialist I

I have noticed that with CodeWarrior installations when you uninstall them, files that have been touched after the previous install (such as an updated license.dat file, or IDE settings files) are not removed. The patch probably touched the compiler files and those got left behind when you did the uninstall. The older 7.1.1 installer probably balked at overwriting them. So, you did the right thing by deleting the entire directory and starting over.

 

As to that code generation problem, gather the code that is triggering the trouble and submit an SR on it. Let us get that problem into the system so that it can be fixed.

 

---Tom

0 Kudos