Follow-up Comment #1, bug #34423 (project avr-libc):
I don't understand that half-sentence:
``and that's why the MSB of temp is lost''
Even without inlining, the correct functionality should be
achieved.
Btw., drop those pointless -f options. If you want short
enums, use __attribute__((packed)). Structs are packed on
the AVR anyway, as it imposes no alignment requirements.
Nobody should rely on the (un)signedness of `char', and if
you want unsigned bitfields, declare them explicitly that
way.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34423>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev