Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Crash when clean a single file

<< < (3/4) > >>

mandrav:
Fixed in SVN, thanks.

For those interested, the bug was in CheckProject(). If no project was open, the last used compiler was used (i.e. it did nothing, just left things as they were). I changed it to use the default compiler in that case.

mandrav:

--- Quote from: MortenMacFly on May 24, 2006, 11:38:01 pm ---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...?!

--- End quote ---

Actually, this isn't possible at all. C::B comes preconfigured with a handful of compilers and noone can delete them. This ensures that the above calls will always return correct values.

killerbot:
the Don always comes up with the correct way to do it ;-)

but but but but, I can delete the internal compilers (without touching the source code) ......  :twisted: :twisted: :twisted:

[EDIT] : or at least some part of such a compiler

mandrav:

--- Quote from: killerbot on May 25, 2006, 10:36:51 am ---but but but but, I can delete the internal compilers (without touching the source code) ......  :twisted: :twisted: :twisted:

[EDIT] : or at least some part of such a compiler

--- End quote ---

Hmm, when I go to compiler options, the "Delete" button is disabled :)
If you 're talking about editing the .conf manually, then it wouldn't work still. It would auto-detect the missing compiler again on next startup ;). But then again, if you manually edit configuration files, you 're on your own  :twisted:

killerbot:

--- Quote from: mandrav on May 25, 2006, 10:44:28 am ---
--- Quote from: killerbot on May 25, 2006, 10:36:51 am ---but but but but, I can delete the internal compilers (without touching the source code) ......  :twisted: :twisted: :twisted:

[EDIT] : or at least some part of such a compiler

--- End quote ---

Hmm, when I go to compiler options, the "Delete" button is disabled :)
If you 're talking about editing the .conf manually, then it wouldn't work still. It would auto-detect the missing compiler again on next startup ;). But then again, if you manually edit configuration files, you 're on your own  :twisted:

--- End quote ---
LOL

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version