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__(mode)
Date: Tue, 1 Nov 2011 14:03:28 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As David Brown wrote:

> The other possible issue that springs to mind is debuggers - will 
> debuggers always be happy with non-standard definitions of the types?

At least GDB apparently doesn't have a problem, and very likely the
AVR Studio (4 & 5) debuggers neither.  Otherwise, we'd already knew
about it. ;-)  The point here is certainly that the debuggers don't
see the actual typedef at all, but only their attributes (signedness,
size in bytes) as part of the debugging information.

> Could -mint8 be removed entirely?

I wouldn't like it until the day when all the minor integer promotion
issues with 8-bit arithmetics have been sorted out.

> (such as stdint.h), and would no doubt simplify things in the compiler.

For the compiler, the policy has been to not actively spend much time
into it, but to not break it without need.

>  But many of these have been fixed, or at least greatly 
> improved, in gcc 4.7 (thanks especially to Johann, I believe).

Yes, and that will hopefully make my concerns from above void some
not too distant day.
-- 
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]