261 =1 void FramRead(U8 IFRCpage, unsigned char xdata * xdata IFRCstore); *** WARNING C258 IN LINE 261 OF MCDEFS.H: 'IFRCstore': mspace on parameter ignored
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
"My only beef is that you can not specify a function parameter IDENTICAL to the variables you use for that parameter" Yes, but a function parameter is not identical to a variable - which is precisely why you can't do it! Ho hum!
Perhaps it would be useful to make this condition a warning ("mspace specifier for formal parameter ignored"), so that the code can still be compiled. Users that don't care about this particular warning can suppress it, and then happily add the extra keyword.