__COUNTER__ macro not recognized in Power Architecture 8.8 build 80229

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

__COUNTER__ macro not recognized in Power Architecture 8.8 build 80229

530 Views
Lennie
Contributor I

Hello,

 

I'm starting with codewarrior and trying to port my library to it but the compiler doesn't recognize the __COUNTER__ predefined macro although it is supposed to exist in the CodeWarrior Build Tools Reference for Power Architecture PDF.

I get :

Error : undefined identifier '__COUNTER__'

Does anyone know why ? Is it a version specific macro ?

 

Thanks.

Labels (1)
0 Kudos
Reply
1 Reply

348 Views
CrasyCat
Specialist III

Hello

 

Which revision of the Power Arch Build Tools Reference.pdf are you referring to here.

 

I checked the manual with revision date of October 07, 2008, which is delivered with V8.8 and there is no mention of

predefined macro __COUNTER__ in there.

 

I did perform some additional tests and the predefined macro __COUNTER__ has been added in CodeWarrior Development Studio for Power Architecture v8.8.3 patch.

 

So if you want to use that macro, I would recommend you to install the latest patch for CodeWarrior V8.8.

According to our web page

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-POWER-NETWORKING&fpsp=1&tab=Design...

 it is

         CodeWarrior for Power Architecture v8.8.5 Patch (Windows)

 

I hope this helps.
 

CrasyCat

0 Kudos
Reply