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

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

Re: [avr-libc-dev] todo item: signed/unsigned warnings


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] todo item: signed/unsigned warnings
Date: Thu, 8 Aug 2002 13:10:31 +0200
User-agent: Mutt/1.2.5i

As E. Weddington wrote:

> Does anybody get these warnings? Is this todo item still valid?

Here are my fixes.

Sometimes it's not very easy to fix them because the warnings
indeed uncover ambiguities in the data types being used.  We
would need an additional uldiv_t (+ funtion uldiv()) to properly
fix them.  Casting the warnings away is basically only hiding
the flaws in the current algorithm...

The STACK_POINTER() fix is real though.  Despite of its name, it
actually yielded an integer, not a pointer.
-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

Attachment: avr-libc-warnfix.patch
Description: Text document


reply via email to

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