CW 10 Eclipse Interrupt Yellow Underline

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

CW 10 Eclipse Interrupt Yellow Underline

2,046 Views
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.

Labels (1)
Tags (1)
0 Kudos
Reply
4 Replies

1,044 Views
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 Kudos
Reply

1,044 Views
CarlFST60L
Senior Contributor II

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

0 Kudos
Reply

1,044 Views
robert_t
Contributor I

Same problem, any response?

0 Kudos
Reply

1,044 Views
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 Kudos
Reply