avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [bug #34695] fixed width int types without __attribut


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [bug #34695] fixed width int types without __attribute__()
Date: Tue, 1 Nov 2011 13:45:46 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As David Brown wrote:

> It is even more ironic that there are already standard definitions in 
> stdint.h precisely to support tools other than avr-gcc, namely doxygen.

OK, so what's wrong with writing

#if defined(__DOXYGEN__) || defined(LINT)

then?

> In particular, in C a 
> "unsigned char" is /not/ identical to an "8-bit unsigned int".  The 
> "unsigned char" has different aliasing properties than an "unsigned int" 
> of any size.

In which respect?

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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