[Top][All Lists]
[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: |
Thu, 29 Jan 2009 02:49:41 +0100 |
On Wed, 28 Jan 2009 20:33:04 -0500
Preston Wilson <address@hidden> wrote:
> From the error message, I would say you have too much quoting. avr-gcc is
> treating the " -DMY_DATE=090129 " (after expansion) as a file. Try it
> without the quotes on this line:
> CFLAGS+=" -DMY_DATE=`date +%y%m%d` "
Thanks Preston. I removed the double quotes, and that's better, now I
still get a Make error, but it's further down the line, about the code
itself not the Make file.
I tried:
const char compile_date[12] PROGMEM = MY_DATE ;
but this yields :
ui.c:43: error: ‘MY_DATE’ undeclared here (not in a function)
Undeclared ? Strange, mmmpff....
--
Vince
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, (continued)
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, Vincent Trouilliez, 2009/01/28
- RE: [avr-gcc-list] __DATE__ constant, any way to format itdifferently ?, Stu Bell, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format itdifferently ?, Vincent Trouilliez, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format itdifferently ?, Torsten Seeboth, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format itdifferently ?, Vincent Trouilliez, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format itdifferently ?, Vincent Trouilliez, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, David Kelly, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, Vincent Trouilliez, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, Steven Michalske, 2009/01/28
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, Vincent Trouilliez, 2009/01/28
- Message not available
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?,
Vincent Trouilliez <=
- Message not available
- Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, Vincent Trouilliez, 2009/01/28
Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, Dave Hylands, 2009/01/28
Re: [avr-gcc-list] __DATE__ constant, any way to format it differently ?, Anton James Erasmus, 2009/01/29