Skip to content

Commit

Permalink
Change the default of -d=gen to false
Browse files Browse the repository at this point in the history
We should try to not rely on evaluation of external functions, the
performance issues we have with compiling code during translation,
and the crashes that -d=gen may cause.
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Dec 16, 2016
1 parent 298a396 commit 334f2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Util/Flags.mo
Expand Up @@ -186,7 +186,7 @@ constant DebugFlag DUMP_INLINE_SOLVER = DEBUG_FLAG(7, "dumpInlineSolver", false,
Util.gettext("Dumps the inline solver equation system."));
constant DebugFlag EVAL_FUNC = DEBUG_FLAG(8, "evalfunc", true,
Util.gettext("Turns on/off symbolic function evaluation."));
constant DebugFlag GEN = DEBUG_FLAG(9, "gen", true,
constant DebugFlag GEN = DEBUG_FLAG(9, "gen", false,
Util.gettext("Turns on/off dynamic loading of functions that are compiled during translation. Only enable this if external functions are needed to calculate structural parameters or constants."));
constant DebugFlag DYN_LOAD = DEBUG_FLAG(10, "dynload", false,
Util.gettext("Display debug information about dynamic loading of compiled functions."));
Expand Down

0 comments on commit 334f2f6

Please sign in to comment.