Pumpkin, Inc.

Pumpkin User Forums

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

For issues specific to the PIC24 MCU and dsPIC DSC line of microcontrollers from Microchip, including compiler (e.g. MCC 30) and IDE (e.g. MPLAB) issues.

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

Postby jmag99 » Sun Jul 13, 2014 5:55 pm

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?
jmag99
 
Posts: 4
Joined: Sat Jun 13, 2009 11:00 pm
Location: Providence, RI USA

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

Postby Andrew » Wed Jul 23, 2014 6:47 am

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.
Andrew
Site Admin
 
Posts: 68
Joined: Mon Nov 30, 2009 6:43 pm


Return to PIC24 & dsPIC

Who is online

Users browsing this forum: No registered users and 1 guest

cron