- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » warning and note inside fmu resource
Page Start Prev 1 Next End
warning and note inside fmu resource
warning and note inside fmu resource
Feb-25-19 12:24:17
Hallo,
i was looking around and found in resources/dynamic.log of my FMU interesting lines
Code:
In file included from MyFMU_FMU.c:54:0:
include/fmi2/fmu2_model_interface.c: In function 'omc_assert_fmi_common':
include/fmi2/fmu2_model_interface.c:162:16: warning: passing argument 1 of 'GC_vasprintf' from incompatible pointer type [-Wincompatible-pointer-types]
GC_vasprintf(&str, msg, args);
^
In file included from include/openmodelica_func.h:52:0,
from MyFMU_FMU.c:10:
include/util/modelica_string.h:71:5: note: expected 'const char **' but argument is of type 'char **'
int GC_vasprintf(const char **strp, const char *fmt, va_list ap);
^
it doesnt seems to effect the behaviour of my model in fmuCheck and when I import it in simulink. just currious what is and why the warning exist
Best regards
- Arinomo23
- 120 Posts
Re: warning and note inside fmu resource
Feb-28-19 11:35:50
does anyone have any idea? i think it is one of the reason why i got so many undefined reference from my source code when compiling for a real-time application
- Arinomo23
- 120 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » warning and note inside fmu resource
There are 0 guests and 0 other users also viewing this topic