You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can replicate these issues on Trixie with gcc 14.
fileno: Problem seems to be that we should define #define _POSIX_C_SOURCE 200809L before including stdio.h for gcc 14, or use some appropriate -std=....
mkdir/mymkdir: Didn't look into why we need sys/stat.h, also just added it for now to make it compile.
Pointer type mismatch error: Seems also to be gcc being stricter. Type casting the right hand side makes it compile, but didn't look much into the problem. Recompiling will show some type mismatch in FMIL code as well. Also type casting there (e.g. just (void*)) makes FMIL compile and tests pass.
Using a standard version of Minizip: Unfortunately this is not yet possible. There is a flag for FMILIB_FIND_PACKAGE_ZLIB and a PR open for Expat, but nothing for Minizip yet.
Hi,
I'm trying to recompile latest version 3.0a4.
I run with issue with
fileno
in:src/XML/src-gen/FMI3/lex.yyfmi3.c
src/XML/src-gen/FMI2/lex.yyfmi2.c
src/XML/src-gen/FMI1/lex.yyfmi1.c
Add in each file this line
int fileno(FILE *stream);
fix the compilation error.Now, I'm stuck with error in Minizip:
miniunz.c
, I add#include <sys/stat.h>
before call tomkdir
in unix and apple inmymkdir
functionCould you help me with that error?
Would it be possible to use a "standard" version of Minizip?
Best
The text was updated successfully, but these errors were encountered: