Page 1 of 1

warning: Taking the address of 'msg' may require an extended

PostPosted: Sun Jul 13, 2014 5:55 pm
by jmag99
When calling OS_WaitMsgQ() from XC16 V1.21 with a PIC24EP processor, I receive the following warning:

warning: Taking the address of 'msg' may require an extended

What is required to resolve this? I am guessing that Salvo would have to provide a special version of WaitMsgQ with an 'eds' version of the msg pointer?

Re: warning: Taking the address of 'msg' may require an exte

PostPosted: Wed Jul 23, 2014 6:47 am
by Andrew
May require an extended what?

Salvo message pointers are void pointers, so it's likely that you will have to cast thm to whatever you are pointing to ... no biggie.

It may also crop up when using different addressing modes.