From: Bastiaan v. K. <b.v...@vd...> - 2008-10-16 14:26:16
|
Hi, In most of my projects, I use a define rule from the Makefile like this: -D'SVN_REV='"$(shell svnversion -n .)"' which creates a define SVN_REV with the svn revision, quoted (so svn revision 6M will appear as "6M"). Just tried this with my brand new SDCC project, but it seems as if SDCC (or something else in the toolchain?) strips the quotes, thus giving me parse errors. Placing '#define SVN_REV "6M"' directly in the code does work, but that kinda defeats the purpose of this thing. This works fine on the same system for some projects for other MCU's, using GCC. Is this intended behavior, a bug, or am i doing something wrong? Thanks, -Bastiaan |