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

Compile char as an unsigned char

Hello,

Can anyone tell me how to instruct Keil to compile char's as unsigned char's by default?

I know that there are some help topics on this issue, but they seem to be giving a precompiler directive to tell the compiler to always compile char's as signed char's....

Thanks!
Eric

Parents
  • Thanks for the fast replies!

    The problem that I am having is actually the warning: #167-D: argument of type "char *" is incompatible with parameter of type "Uchar *"

    of the otherway around:
    #167-D: argument of type "Uchar *" is incompatible with parameter of type "char *"

    Why am I getting these warnings if Uchar and char are the same thing?

    Thanks,
    Eric

Reply
  • Thanks for the fast replies!

    The problem that I am having is actually the warning: #167-D: argument of type "char *" is incompatible with parameter of type "Uchar *"

    of the otherway around:
    #167-D: argument of type "Uchar *" is incompatible with parameter of type "char *"

    Why am I getting these warnings if Uchar and char are the same thing?

    Thanks,
    Eric

Children