Unable to use #pragma INLINE with CodeWarrior for ColdFire V6.3.1

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

Unable to use #pragma INLINE with CodeWarrior for ColdFire V6.3.1

Jump to solution
1,267 Views
armistej
Contributor III

No matter what I try, I cannot get #pragma INLINE to work.

 

The compiler constantly throws a "Warning : illegal #pragma"

 

I can see #pragma INLINE described in the CodeWarrior help file.

 

Any ideas ?

 

Thanks

J

Labels (1)
0 Kudos
1 Solution
477 Views
CompilerGuru
NXP Employee
NXP Employee

That pragma is for the HC08/S08/RS08, not for Coldfire.

 

Daniel

View solution in original post

0 Kudos
2 Replies
478 Views
CompilerGuru
NXP Employee
NXP Employee

That pragma is for the HC08/S08/RS08, not for Coldfire.

 

Daniel

0 Kudos
477 Views
armistej
Contributor III

Thanks Daniel.

 

Unfortunately, it's not very clear when I am using the CodeWarrior help system.  It's hard to figure out which book you're viewing after you choose a particular Search result or item from the Index.

 

I guess this is one disadvantage of having an IDE that supports multiple processor families but implements certain features in different ways ... sigh !

0 Kudos