The problem is that when using SVN_BUILD (or $SVN_BUILD or $(SVN_BUILD)) the 'true' clause is always being execute, despite the fact that I've defined SVN_BUILD as '0' (or if I leave it undefined) in the Custom Variables tab. I take it I'm missing something?
Hmm, darn... if that's the case, there's a bug
The true clause should be exectuted whenever the expression is not false, and "not false" is assumed if none of the following is the case:
1. whatever is inside () has the int value 0 or the ASCII code of '0'
2. whatever is inside () evaluates to an empty string, or
3. is not defined
Apparently, something is going wrong there, if "0" evaluates to true...
Unluckily, I won't be on a computer with Code::Blocks for the next 10 days still, so no bug hunting from my side... Martin, pretty please?
p.s.: Did you know that Windows XP lets you change a French keyboard to a German one with one mouse click, if you only care to look? I just found out...