In an FMI wrapper, we use a variadic function for logging. When running the FMU compliance checker (2.0.3) for linux64 on an FMU (for Co-Sim) compiled with gcc 4.9.2, the compliance checker throws an error when loading the *.so file:
[FATAL][FMICAPI] Could not load the DLL: /tmp/fmucktmpslmDuk/binaries/linux64/Frame.so: undefined symbol: va_start
I'm wondering if it is forbidden to use va_start in FMI in Linux? The FMI specifications (1, 2) do not seem to give a hint.
Just
#include <stdarg.h>
va_arg
and many others are defined there.