/Users/kkowalska/Reference-FMUs/Reference-FMUs/src/fmi3Functions.c:241:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] const char* fmi3GetVersion() { ^ void [ 88%] Building C object fmusim/CMakeFiles/fmusim.dir/FMIUtil.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIUtil.c:497:42: warning: passing 'char *' to parameter of type 'const fmi3Byte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] CALL(FMI3DeserializeFMUState(S, serializedFMUState, serializedFMUStateSize, &FMUState)); ^~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIUtil.c:10:31: note: expanded from macro 'CALL' #define CALL(f) do { status = f; if (status > FMIOK) goto TERMINATE; } while (0) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/../include/FMI3.h:401:20: note: passing argument to parameter 'serializedState' here const fmi3Byte serializedState[], ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIUtil.c:545:49: warning: passing 'char *' to parameter of type 'fmi3Byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] CALL(FMI3SerializeFMUState(S, FMUState, serializedFMUState, serializedFMUStateSize)); ^~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIUtil.c:10:31: note: expanded from macro 'CALL' #define CALL(f) do { status = f; if (status > FMIOK) goto TERMINATE; } while (0) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/../include/FMI3.h:397:14: note: passing argument to parameter 'serializedState' here fmi3Byte serializedState[], ^ 2 warnings generated. [ 89%] Building C object fmusim/CMakeFiles/fmusim.dir/FMIEuler.c.o [ 89%] Building C object fmusim/CMakeFiles/fmusim.dir/FMICVode.c.o [ 90%] Building C object fmusim/CMakeFiles/fmusim.dir/FMIModelDescription.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIModelDescription.c:554:18: warning: case value not in enumerated type 'FMIVariability' [-Wswitch] case -1: ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIModelDescription.c:564:18: warning: case value not in enumerated type 'FMIVariability' [-Wswitch] case -1: ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIModelDescription.c:644:70: warning: passing 'char[13]' to parameter of type 'const xmlChar *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] xmlXPathObjectPtr xpathObj2 = xmlXPathNodeEval(variableNode, ".//Dimension", xpathCtx); ^~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/build/libxml2-aarch64-darwin/install/include/libxml2/libxml/xpath.h:533:23: note: passing argument to parameter 'str' here const xmlChar *str, ^ 3 warnings generated. [ 91%] Building C object fmusim/CMakeFiles/fmusim.dir/FMIRecorder.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/FMIRecorder.c:297:37: warning: initializing 'const char *' with an expression of type 'fmi3Binary' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] const char* value = values[j]; ^ ~~~~~~~~~ 1 warning generated. [ 91%] Building C object fmusim/CMakeFiles/fmusim.dir/FMIZip.c.o [ 92%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim.c.o [ 92%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim_fmi1_cs.c.o [ 93%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim_fmi1_me.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_fmi1_me.c:112:14: warning: implicit conversion from enumeration type 'FMISolverStatus' to different enumeration type 'FMIStatus' [-Wenum-conversion] CALL(settings->solverStep(solver, nextCommunicationPoint, &time, &stateEvent)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_fmi1_me.c:7:31: note: expanded from macro 'CALL' #define CALL(f) do { status = f; if (status > FMIOK) goto TERMINATE; } while (0) ~ ^ 1 warning generated. [ 94%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim_fmi2_cs.c.o [ 94%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim_fmi2_me.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_fmi2_me.c:141:14: warning: implicit conversion from enumeration type 'FMISolverStatus' to different enumeration type 'FMIStatus' [-Wenum-conversion] CALL(settings->solverStep(solver, nextCommunicationPoint, &time, &stateEvent)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_fmi2_me.c:9:31: note: expanded from macro 'CALL' #define CALL(f) do { status = f; if (status > FMIOK) goto TERMINATE; } while (0) ~ ^ 1 warning generated. [ 95%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim_fmi3_cs.c.o [ 95%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim_fmi3_me.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_fmi3_me.c:149:14: warning: implicit conversion from enumeration type 'FMISolverStatus' to different enumeration type 'FMIStatus' [-Wenum-conversion] CALL(settings->solverStep(solver, nextCommunicationPoint, &time, &stateEvent)); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_fmi3_me.c:9:31: note: expanded from macro 'CALL' #define CALL(f) do { status = f; if (status > FMIOK) goto TERMINATE; } while (0) ~ ^ 1 warning generated. [ 96%] Building C object fmusim/CMakeFiles/fmusim.dir/fmusim_input.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:40:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (col = CsvReadNextCol(row, handle)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:40:13: note: place parentheses around the assignment to silence this warning while (col = CsvReadNextCol(row, handle)) { ^ ( ) /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:40:13: note: use '==' to turn this assignment into an equality comparison while (col = CsvReadNextCol(row, handle)) { ^ == /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:55:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (row = CsvReadNextRow(handle)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:55:13: note: place parentheses around the assignment to silence this warning while (row = CsvReadNextRow(handle)) { ^ ( ) /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:55:13: note: use '==' to turn this assignment into an equality comparison while (row = CsvReadNextRow(handle)) { ^ == /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:74:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (col = CsvReadNextCol(row, handle)) { ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:74:14: note: place parentheses around the assignment to silence this warning while (col = CsvReadNextCol(row, handle)) { ^ ( ) /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/fmusim_input.c:74:14: note: use '==' to turn this assignment into an equality comparison while (col = CsvReadNextCol(row, handle)) { ^ == 3 warnings generated. [ 97%] Building C object fmusim/CMakeFiles/fmusim.dir/miniunzip.c.o /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/miniunzip.c:86:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void change_file_date(filename, dosdate, tmu_date) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/miniunzip.c:128:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int mymkdir(dirname) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/miniunzip.c:142:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int makedir(newdir) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/miniunzip.c:230:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int do_list(uf) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/miniunzip.c:300:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int do_extract_currentfile(uf, popt_extract_without_path, popt_overwrite, password) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/miniunzip.c:438:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int do_extract(uf, opt_extract_without_path, opt_overwrite, password) ^ /Users/kkowalska/Reference-FMUs/Reference-FMUs/fmusim/miniunzip.c:470:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int do_extract_onefile(uf, filename, opt_extract_without_path, opt_overwrite, password) ^ 7 warnings generated. [ 97%] Building C object fmusim/CMakeFiles/fmusim.dir/__/build/zlib-1.3/contrib/minizip/ioapi.c.o [ 98%] Building C object fmusim/CMakeFiles/fmusim.dir/__/build/zlib-1.3/contrib/minizip/unzip.c.o [ 98%] Building C object fmusim/CMakeFiles/fmusim.dir/__/src/structured_variable_name.yy.c.o [ 99%] Building C object fmusim/CMakeFiles/fmusim.dir/__/src/structured_variable_name.tab.c.o structured_variable_name.y:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] extern int yyparse(); ^ structured_variable_name.tab.c:146:5: note: conflicting prototype is here int yyparse (void* variable); ^ 1 warning generated. [100%] Linking C executable fmusim