Re: CodeWarrior for HCS12X - ANSI-compliant??



CBFalconer <cbfalconer@xxxxxxxxx> wrote:
"Florian E. Teply" wrote:

... snip ...

As another strange sidenote: uint8_t is used several times in the
same file, and works as it should on every single occasion, as
long as the line number doesn't exceed 500...

Please explain how an 8-bit value can express a number outside the
range 0 .. 255.

Maybe i didn't make this clear: the uint8_t variable is indeed limitet
to the range 0..255, but the 500 i was referring to, was actually the
line number in the source code.
Anyways, my guess that this could be related was proven wrong when i
found that i missed a closing bracket...

Greetings,
Florian
.



Relevant Pages

  • Re: Float comparison
    ... snip ... ... trying to get an exact definition of them. ... speaking of the usual fp-system which normalizes everything in ... Chuck F (cbfalconer at maineline dot net) ...
    (comp.lang.c)
  • Re: How do I convert an int to binary form?
    ... pete wrote: ... snip ... ... The first time that our friend CBFalconer ... I can't recall any words from that thread to google on though. ...
    (comp.lang.c)
  • Re: c++ calling c functions
    ... CBFalconer writes: ... snip ... ... the headers. ... You can't invert this and generate normal C++ ...
    (comp.lang.c)
  • Re: Alignment, Cast (more about structs...)
    ... snip ... ... which would require a universal alignment multiple of 12. ... That was not a 2 byte int, ... Chuck F (cbfalconer at maineline dot net) ...
    (comp.lang.c)
  • Re: Simple allocation of two buffer on AMD64
    ... Whether it's one overly-long sig or two shorter ones doesn't ... how to snip he sure doesn't like to listen to his own advice - which in ... My excuse is that I ignore it for a while (in the order ... Chuck F (cbfalconer at maineline dot net) ...
    (comp.lang.c)