[Top][All Lists]

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

Re: [avr-libc-dev] inttypes.h cleanup for -mint8

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] inttypes.h cleanup for -mint8
Date: Mon, 11 Nov 2002 22:40:20 +0100
User-agent: Mutt/1.2.5i

As Theodore A. Roth wrote:

> :) Of course, <inttypes.h> needs my suggested fix applied first.  Any
> :) comments about that one?
> I think this should be done, but I'm not too excited about your patch
> (http://mail.gnu.org/pipermail/avr-libc-dev/2002-November/000492.html)
> dropping uint32_t.

Well, then you need to complain about avr-gcc. ;-)  It's very simple:
the compiler simply doesn't provide and 32-bit integer type in
-mint8 mode.  You can easily verify this by using avr-gcc -E -dD.

> Since this is a C99 standard file, what does the standard say needs to be
> in it? (I need to find a link to the standard... got something "ISO/IEC
> 8999:1999 (E)") Looks like we should really be doing all of this in
> stdint.h to conform to the standard.

-mint8 is in violation of the standard anyway, int needs to cover at
least the range of -32767 to 32767.

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

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