Follow-up Comment #7, bug #34695 (project avr-libc): FYI, the attached files show avr-gcc's understanding of the C99 types with and without -mint8
You can use these defines as a blueprint for the stdin.h headers or use them directly (once a fix for http://gcc.gnu.org/PR46261 is upsteram). The advantage of using the types direcly like in #define int8_t __INT8_TYPE__ is that you don't need to bother with -mint8 on or off. Moreover, the definitions will be in sync with the compiler's implementation. The disadvantage is that you get more closely tied to the compiler and scanner's like link might easy going with open coded defines. (file #25969, file #25970) _______________________________________________________ Additional Item Attachment: File name: stdint-16.h Size:3 KB File name: stdint-mint8.h Size:2 KB _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?34695> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev