avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?


From: Vincent Trouilliez
Subject: Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?
Date: Wed, 28 Jan 2009 22:30:19 +0100

On Wed, 28 Jan 2009 15:21:15 -0600
David Kelly <address@hidden> wrote:

> OK, but if you don't commit the code to svn (as Vincent has stated in
> other messages in this thread) then the svn version number is only "less
> than or equal to" the real version number.

Yes that's why I give up on this :-/

> I think if you don't like the format of __DATE__ then drop it into a
> const during compile then pick out the parts you like when displaying.
> Should be able to find them at constant offsets at run time.

Hey that's a nice idea, going to fiddle with that as soon as I hit the
Send button ! Thanks Dave.

> The rule in the Makefile for the file containing __DATE__ needs to be an
> "always build."

Oops, good remark, noted.

--
Vince




reply via email to

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