Bug #16072 2009-07-30 07:10

sbilsing

Command macros don't expand

I use CB with the Visual C++ 6 compiler. Since the recent nightly builds the macro expansion in the compiler options doesn't work anymore. e.g. the compiler switch

/Fd"$objects_output_dir/"

is expanded to

/Fd"/"

instead of something like

/Fd"obj/debug/"

My current version is

svn build 5716 (2009-07-26 18:53:43) gcc 4.2.1 Windows/Unicode.

Apparently the bug was introduced in svn build 5678.

The macro expansion worked fine in svn build 5616.

Best regards

Stefan

Category
Compiler
Group
 
Status
Closed
Close date
2009-07-31 07:03
Assigned to
mortenmacfly
mortenmacfly 2009-07-30 14:41

Can't reproduce with SVn trunk -> works fine here:

Command:

cl.exe /nologo /W3 /EHsc /Og /Ox /DNDEBUG /MD /IC:\Devel\MSVisualC6\VC98\Include /IC:\Devel\MSVisualC6\VC98\MFC\Include /IC:\Devel\MSVisualC6\VC98\ATL\Include /c main.cpp /Fo.objs\main.obj /Fd".objs\/"

With the macro:

$compiler /nologo $options $includes /c $file /Fo$object /Fd"$objects_output_dir/"

???

sbilsing 2009-07-31 06:15

Actually I didn't mean the global compiler settings, but the compiler settings within the build options of the project. I didn't want to apply those settings for every single PC. So I've put the command under "other options".

mortenmacfly 2009-07-31 07:03

This bug is now fixed in HEAD.

Thank you for reporting it.