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

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

Re: [avr-libc-dev] User-visible library version numbers


From: E. Weddington
Subject: Re: [avr-libc-dev] User-visible library version numbers
Date: Fri, 26 Aug 2005 10:54:37 -0600
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Joerg Wunsch wrote:

It has been requested every now and then that there be a user-visible
library version number.  I'm about to start this with the impending
release of the 1.4 branch, so here are a few questions.

What to put in there?

. __AVR_LIBC_VERSION__ "1.4.0"  /* a string */
. __AVR_LIBC_MAJOR__   1        /* three integers */
. __AVR_LIBC_MINOR__   4
. __AVR_LIBC_TINY__    0
I actually prefer this method, as IIRC, doesn't it correspond to what GCC does?

Of course, we could provide <avr/version.h>,
and then include it from <avr/io.h> (and document it that way).

This one makes sense to me.

Eric





reply via email to

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