This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to specify the mspace

 261      =1  void FramRead(U8 IFRCpage, unsigned char xdata * xdata IFRCstore);
*** WARNING C258 IN LINE 261 OF MCDEFS.H: 'IFRCstore': mspace on parameter ignored

The above should, based on the manual be a pointer in xdata to xdata. Why can I not make the darn thing accept that.

Erik

Parents
  • Drew, I know that BUT I like that parametres for function calls are defined identical to the values they refer to

    so, I can not do
    U8 xdata * xdata phred;
    U8 xdata * xdata ralph;

    and specify a function that only call with ralph and phred as
    ... (U8 xdata * xdata george)

    I DO see the irrelevance of the second xdata but then why not the first (OK, OK one is used inside, the other is not)

    My only beef is that you can not specify a function parameter IDENTICAL to the variables you use for that parameter. It is almost a kind of ENUM of the parameter type.

    I'll live with it OK

    Erik

Reply
  • Drew, I know that BUT I like that parametres for function calls are defined identical to the values they refer to

    so, I can not do
    U8 xdata * xdata phred;
    U8 xdata * xdata ralph;

    and specify a function that only call with ralph and phred as
    ... (U8 xdata * xdata george)

    I DO see the irrelevance of the second xdata but then why not the first (OK, OK one is used inside, the other is not)

    My only beef is that you can not specify a function parameter IDENTICAL to the variables you use for that parameter. It is almost a kind of ENUM of the parameter type.

    I'll live with it OK

    Erik

Children