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

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

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


From: Marek Michalkiewicz
Subject: Re: [avr-libc-dev] inttypes.h cleanup for -mint8
Date: Mon, 11 Nov 2002 23:59:40 +0100 (CET)

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

I remember that long long ago Denis said something about removing
support for -mint8 completely - perhaps it's still there only due to
lack of time to remove it ;-)

If the main reason for using -mint8 is better code from "switch"
statements (no conversion to a 16-bit int before comparing), I think
it is better to rewrite such code as a series of if/else statements.

Marek





reply via email to

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