Code::Blocks Forums

User forums => Help => Topic started by: yeewang on September 09, 2005, 04:21:42 am

Title: Custom variables save problem?
Post by: yeewang on September 09, 2005, 04:21:42 am
Eg.

Set:
WX_DIR = c:\wx261
WX_CFG = gcc_dll
WX_BUILD = msw

And
use this as the path to include/lib in global compiler setttings

$(WX_DIR)\lib\$(WX_CFG)\$(WX_BUILD)


close the code:blocks and re-open it

it will turn into
$(WX_DIR)\lib$(WX_CFG)$(WX_BUILD)

with all the "\" gone, I also tried to use "/", doesn't help.


Title: Re: Custom variables save problem?
Post by: mandrav on September 09, 2005, 10:07:23 am
You know, when reporting problems you should give more info than that.
It's nice that you provided a way to reproduce this but unfortunately you didn't say which C::B version you 're using...

Anyway, I tried with latest CVS and it works as expected.
Title: Re: Custom variables save problem?
Post by: Urxae on September 09, 2005, 02:06:41 pm
This looks related to this bug (http://sourceforge.net/tracker/?func=detail&aid=1275158&group_id=126998&atid=707416) I reported on sourceforge. If it's a different effect of the same bug, mandrav fixed in CVS last week.