In my project I include stddef.h but find error on __CX2__
it's a bug or not
I try to modify it to #if defined (__CX2__) and passed.
what mains about __CX2__ ?
Wouldn't it have helped if you had posted this declaration?
It obviously isn't the __CX2__ symbol that is unknown or missing, since preprocessor symbols are not unknown or missing. Just what they possibly expand to.
Keil want me to fill in too much information for me to be interested in checking what the currently available version is.
Here (I think) is the fragment that the OP is talking about:
#if __CX2__ typedef int ptrdiff_t; #else typedef long ptrdiff_t; // changed to 'long' due to 'far' pointer support #endif
This block appears to have been added in the latest release 8.17a