[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #34695] fixed width int types without __attribute__(

From: Georg-Johann Lay
Subject: [avr-libc-dev] [bug #34695] fixed width int types without __attribute__()
Date: Fri, 01 Jun 2012 11:08:09 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv: Gecko/20120306 Firefox/3.6.28

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

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:


  Nachricht gesendet von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]