[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] User-visible library version numbers
From: |
Bob Paddock |
Subject: |
Re: [avr-libc-dev] User-visible library version numbers |
Date: |
Sun, 28 Aug 2005 15:57:16 -0400 |
User-agent: |
KMail/1.8.1 |
On Sunday 28 August 2005 02:58 pm, Joerg Wunsch wrote:
> As Bob Paddock wrote:
> > > >. __AVR_LIBC_VERSION__ "1.4.0" /* a string */
> > > >. __AVR_LIBC_MAJOR__ 1 /* three integers */
> > > >. __AVR_LIBC_MINOR__ 4
> > > >. __AVR_LIBC_TINY__ 0
> >
> > As do I. GCC refers to _TINY_ as _PATCHLEVEL, see below.
>
> I'm not that happy about `patchlevel' (actually, it's probably rather
> `releaselevel' for us,
'releaselevel' sounds better than _PATCHLEVEL_ which implies bugs, and _TINY_
is a bit to vague, since there are TINY AVR parts.
> > #define __GCC_VERSION__ (__GNUC__ * 10000 \
> > + __GNUC_MINOR__ * 100 \
> > + __GNUC_PATCHLEVEL__)
>
> But then, why not offer that as __AVR_LIBC_RELEASE__ right from the
> beginning?
> (Perhaps in parallel with the three-piece macros.)
> I feel the standardized macro to have a single test for a particular
> release to be a big win.
Yes to both items, single and three-piece.
- [avr-libc-dev] User-visible library version numbers, Joerg Wunsch, 2005/08/24
- Re: [avr-libc-dev] User-visible library version numbers, Russell Shaw, 2005/08/24
- Re: [avr-libc-dev] User-visible library version numbers, Matthew MacClary, 2005/08/25
- Re: [avr-libc-dev] User-visible library version numbers, E. Weddington, 2005/08/26
- Re: [avr-libc-dev] User-visible library version numbers, Bob Paddock, 2005/08/26
- Re: [avr-libc-dev] User-visible library version numbers, Joerg Wunsch, 2005/08/28
- Re: [avr-libc-dev] User-visible library version numbers,
Bob Paddock <=
- Re: [avr-libc-dev] User-visible library version numbers, Joerg Wunsch, 2005/08/29
- Re: [avr-libc-dev] User-visible library version numbers, E. Weddington, 2005/08/29
- Re: [avr-libc-dev] User-visible library version numbers, Joerg Wunsch, 2005/08/29
- Re: [avr-libc-dev] User-visible library version numbers, E. Weddington, 2005/08/29
- Re: [avr-libc-dev] User-visible library version numbers, E. Weddington, 2005/08/28