[Top][All Lists]

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

Re: [avr-libc-dev] [RFC] updates for sfr dox

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [RFC] updates for sfr dox
Date: Thu, 22 Aug 2002 18:11:52 +0200
User-agent: Mutt/1.2.5i

As Theodore A. Roth wrote:

> :) My only concern is whether to move out the deprecated macros into
> :) <avr/compat.h> instead.
> Is that going to be included in one of the std files?

Probably not.

> If not, we will break user's code, which I think we should try to
> keep to a minimum for the next release.

We're breaking user's code already anyway.  None of my existing
projects compiled without changes after switching to the current
toolchain.  Judging from the comments others gave publically and
privately, their experience was about the same.

So i don't think there's much to lose here.  The requirement to add
another header file is probably not much of a change.  We could
perhaps stuff some other macros that previously existed and that now
disappeared, into this file again, like __inw()/__outw() etc.  Maybe
we'll even get it to a point where just adding #include <avr/compat.h>
would indeed get the old projects to compile again (except of course
those that were already using outb() which suffered from a poorly
argument sequence previously).

> Is there any way to have the compiler emit a warning message when
> the user try to compile something that uses a deprecated interface?

IMHO the new outb() already fails to work when faced with the old
arguments, at least in some cases.  That's probably a side-effect of
its implementation but a Good Thing since it points innocent users
into the right direction.

> Your english is great. If I ever make it to Germany, we can have
> some beer and laugh at my german. ;-)

Don't worry.  It wouldn't be what it is without the Internet community
either.  Any foreign language you know (and be it only a few words) is
always better than nothing...  My rudimentary Czech knowledge
(obtained during 3 months of studying in Prague many years ago) helped
me to understand some Czech Internet pages recently so i learned about
their flood situation (which was going to come down to Dresden from
there).  This has proven to be a good help in judging what we needed
to do ourselves to protect our property.

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]