News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Replacing compiler settings with a build script?

Started by colin, March 17, 2014, 04:36:16 PM

Previous topic - Next topic

oBFusCATed

#30
Reproduced.
The problem happens, because the code expects that there is at least on program in the m_Commands member variable of the compiler, but for options_null.xml there are none.

@Alpha: Any idea how to fix this problem?

This is the problematic method: const CompilerTool& Compiler::GetCompilerTool(CommandType ct, const wxString& fileExtension) const
Returning a reference here is pretty bad and most of the times it is used as a pointer.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]