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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,926 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,136 次查看
CompilerGuru
NXP Employee
NXP Employee

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

 

Daniel

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,137 次查看
CompilerGuru
NXP Employee
NXP Employee

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

 

Daniel

0 项奖励
回复
1,136 次查看
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 项奖励
回复