Lennie Georges

__COUNTER__ macro not recognized in Power Architecture 8.8 build 80229

Discussion created by Lennie Georges on Jun 30, 2011
Latest reply on Jul 5, 2011 by CrasyCat

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.

Outcomes