CW 10 Eclipse Interrupt Yellow Underline

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

CW 10 Eclipse Interrupt Yellow Underline

1,747 次查看
emh203
Contributor II

Hello:

 

In CW10 all of my interrupt routines:

 

 

interrupt VectorNumber_Vtpm2ovf void TPM1_Overflow(void)

 

are all yellow underlined and reports as a syntax error (with a question mark beside it).

 

The code compiles fine.  I just want to get rid of the marker.

标签 (1)
标记 (1)
0 项奖励
4 回复数

745 次查看
darknight
Contributor III

Hi,

 

I have the same problem, if I use vector in prm file only the first line on interrupt is syntax error,

and without use prm file like emh203 the interrupt is underlined with syntax error. 

 

:smileysad:

 

0 项奖励

745 次查看
CarlFST60L
Senior Contributor II

All these years later and it is still not fixed, I just submitted a service request.

0 项奖励

745 次查看
robert_t
Contributor I

Same problem, any response?

0 项奖励

745 次查看
kef
Specialist I

Interrupt keyword isn't standard. You could use Eclipse friendly #pragma TRAP_PROC to make function returning with RTI instruction. But then you need vectors table.

0 项奖励