Hi, 
I am using C on Code Warrior 
The function is defined as a shared library function
Error come on compiling the shared library 
The function declaration is like this


int     tsipDecodeStrParamList(int pRefNum ,tsipMessage_t
*pMessage,
Char*   pBuffer,   Char **      pNextPosPtr,
  tsipHdrType_e         pHdrType);
The assignment is like this

pMsgParserHandlePtr->mConfig[tsipAcceptHdrList].decodeFunc
        = tsipDecodeStrParamList;

The prototype for decodeFunc is like this
int (*decodeFunc)(int ,tsipMessage_t*,Char*,Char**,
tsipHdrType_e );

Thanks in advance
Padmini

Hi 

 --- Ben Combee <[EMAIL PROTECTED]> wrote: > At
06:09 AM 5/9/2004, you wrote:
> >Hi
> >I am getting a compilation Error like
> >"ILLEGAL USE OF INLINE FUNCTION "
> >this happens when i assign the address of a
> function
> >to a structure variable - which is a Pointer
> >Has any body come across this kind of error?
> >How to clear it?
> 
> More context, please!  What tool are you using?  C99
> or C++?
> 
> If you're using C++ with CodeWarrior, this error
> shows up in a couple of 
> really obscure places.  Can you post a reproduction
> case?  That can help us 
> explain why it's appearing.
> 
> -- Ben Combee, DTS technical lead, PalmSource, Inc.
>     Read "Combee on Palm OS" at
> http://palmos.combee.net/
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/ 

________________________________________________________________________
Yahoo! India Matrimony: Find your partner online. 
http://yahoo.shaadi.com/india-matrimony/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to