Hi,
here's an annoying bug: When compiling a static library with SDCC, the whole IDE crashes.
The report file .rpt shows that it's a NULL read in compiler.dll:
http://www.mirari.fr/vAxK- What is the problem?
CodeBlocks crashes, either in the 8.02 release or in the latest svn nightly (21 june)
- What did you do to when it happened?
Compiled a static lib containing a few C source files
- Can you reproduce it? How?
install codeblocks as usual
install SDCC-win32-2.9.0-setup.exe from sourceforge
create a "static lib project" with the SDCC compiler. The wizard complains about compiler settings, discard.
No need to add new files, the crash is there with the default file.
run "rebuild"
*crash*
- What release of Code::Blocks are you using?
both release 8.02 and 21 june nightly showed the problem
- Which was the latest release that did not have this problem?
no idea

Any clue?
I noticed that in the advanced compiler settings, the macro for compiling static libraries was empty.
I tried to fill it, to add what it should be, ie " $lib_linker $static_output $link_objects "
When closing dialogs with OK, then reopening the advanced settings, the macro has gone.
I suspect a bad textbox reading, then the command to execute is not defined and calling it results in null pointer dereference.
But I don't know C::B internals so someone with this knownledge may be faster than me to detect the problem.
Thanks in advance.
Sebastien