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
  • When accused of being ignorant rather than getting a simple statement (maybe with a reference), I have no reason to put any credence to the response from the accuser.

    The expectation is that you would have the wit to actually consult the document you claim to be quoting. You rarely hesitate to lambast others for failing to Please read the manual.

    I will admit that my 'knowledge' based on a statement in (was it) '87 by the instructor of the C class I then took:

    Now you're blaming a 'C' class you took 19 years ago?

    I wonder if Jack Sprat peruses several books to verify his knowledge before posting

    No, I just consult the 'C' standard. That way I get the right information first time.

    so it is very possible that at some time it will be him that is "the grossly opinionated that show his ignorance with such panache"

    Dream on.

Reply
  • When accused of being ignorant rather than getting a simple statement (maybe with a reference), I have no reason to put any credence to the response from the accuser.

    The expectation is that you would have the wit to actually consult the document you claim to be quoting. You rarely hesitate to lambast others for failing to Please read the manual.

    I will admit that my 'knowledge' based on a statement in (was it) '87 by the instructor of the C class I then took:

    Now you're blaming a 'C' class you took 19 years ago?

    I wonder if Jack Sprat peruses several books to verify his knowledge before posting

    No, I just consult the 'C' standard. That way I get the right information first time.

    so it is very possible that at some time it will be him that is "the grossly opinionated that show his ignorance with such panache"

    Dream on.

Children