Skip to content

Changes

Summary

  1. Prepare for 117 beta2 (#7219) (details)
Commit 4f5f96201be55af626c5cd9487ee7f3473f24689 by adrian.pop
Prepare for 117 beta2 (#7219)

* fix for ticket #6348 (#7207)

- cast constant used in variable argument list to the type expected in va_arg call

* partial handling of ticket #5827 (#7183)

- use variable OMC_LDFLAGS_LINK_TYPE to set the linker to static/dynamic, default:
  OMC_LDFLAGS_LINK_TYPE=dynamic for simulation executables,
  OMC_LDFLAGS_LINK_TYPE=static for FMI
- use variable OMC_CFLAGS_OPTIMIZATION to set the optimization level, default to OMC_CFLAGS_OPTIMIZATION=-Os
- these two variables can be overrided by the user if needed, we should support this in OMEdit
- currently OMC_LDFLAGS_LINK_TYPE only affects windows/mingw, OMC_CFLAGS_OPTIMIZATION can be used in Linux as well

* fixes for #5827, make the meta tests work again
The file was modified OMCompiler/Compiler/Template/CodegenCFunctions.tpl (diff)
The file was modified OMCompiler/Compiler/Template/CodegenC.tpl (diff)
The file was modified OMCompiler/Compiler/Template/CodegenFMU.tpl (diff)
The file was modified OMCompiler/Compiler/Util/Autoconf.mo.omdev.mingw (diff)
The file was modified OMCompiler/SimulationRuntime/c/util/base_array.c (diff)