This test was performed under Vista (win32) and Cb-11546 compiled with wx28 and Tdm492.
The plugin CC is disabled.
The project attached 'deleteTarget.cbp' (a simple console application) can detect a crash when calls from 'MacrosManager::RecalcVars(...)' and 'MacrosManager::ReplaceMacros(...)', under the following conditions :
All targets (Release, one, two, three) uses :
- Output filename = bin\$TARGET_NAME)\deleteTarget.exe
- Objects output dir = obj\$TARGET_NAME)\
Targets 'one', 'two', 'three' have more :
- Custom variables : wx = $(#wx28_492)
- Search directories include = $wx\include
- the global variable "#wx28_492" is not used for compilation !, just for demonstration.
All targets compile and work correctly.
- 1- compile and run target 'debug'
- 2- delete active target 'debug'
- 3- it's ok
=> trying to do the same thing with
another (active) target causes a cb crash with a report (attached) !!
A note after removing the 'Debug' target : binary files and '*.o' still exist.
The oldest version without crash seems to be 'cb-11454' nightly build.
No test under Linux.