[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Avr-libc warnings
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Avr-libc warnings |
Date: |
Fri, 6 Oct 2006 23:49:42 +0200 |
User-agent: |
Mutt/1.5.11 |
As Eric Weddington wrote:
> So, I was perusing the oft-neglected TODO file, and I noticed that you have
> a (very old) patch to fix a number of avr-libc build warnings.
>
> <http://lists.nongnu.org/archive/html/avr-libc-dev/2002-08/msg00054.html>
>
> Would the patch still be valid? The TODO said that the patch just "needs
> some love before it's committed". What kind of special care does it need?
Seriously, I never looked into it ever since.
AFAIR all the warnings are about things where GCC's code flow analysis
is unable to realize that a variable is actually only be used after a
correct assignment, but this isn't really obvious. Of course, adding
initializers would silence these, but it would simply add code that is
not really useful.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)