I'd like to propose a patch (see attached) for the clean and rebuild issue. This pretty much is what killerbot proposed, too (allthough I read his post just now, but we had the same idea, obviously). Anyway: There are a lot more glitches -> just search for "->Init(" in compilergcc.cpp. A lot of these initialisations could fail because CompilerFactory::GetCompiler(m_CompilerId) returns 0. I guess it's really worth a comment by mandrav. There should be a better solution as the patch -> maybe really what I've sated in my previous post never let CompilerFactory::GetCompiler(m_CompilerId) return 0 but the default compiler instead. How about that?
With regards, Morten.
Edit: This just came into my mind: CompilerFactory::GetDefaultCompilerID() and CompilerFactory::GetDefaultCompiler() could both return and empty string, too!!! This should be taken into account, so the "return default compiler instead" proposal may not be a good solution eigther...?!
[attachment deleted by admin]