Thomas Beutlich
Thomas Beutlich
For the sake of completeness: - ModelicaUtilityFunctions_t of @t-sommer misses the functions for ModelicaDuplicateString and ModelicaDuplicateStringWithError. - Mo-2191 holds more than the one proposal mentioned by @casella, e.g., by providing...
I wonder why it is not reproducable in CI when [GCC 12](https://github.com/modelica/ModelicaStandardLibrary/actions/runs/15468502388/job/43546413988#step:3:13) or [GCC 14](https://github.com/beutlich/ModelicaStandardLibrary/actions/runs/15742703703/job/44371819923#step:4:14) is used.
* Does the error only happen with GCC 15? * Can you check direct.h of the MinGW include files for `_mkdir`/`_chdir`! * Can you print the exact compiler command! Thank...
I also noticed that even if `_rmdir` is available in MinGW header direct.h, ModelicaInternal.c uses `rmdir` in line 388 and not `_rmdir` of line 390. Hence, it is not consistent...
> So this can be reproduced also with MSL 4.0.0. Ah, good to know that at least it is not an MSL regression.
> Find attached the direct.h from 32-bit MinGW 15. Unclear why mkdir instead of _mkdir is used in this case. That's the same file content as for MinGW 14.2. It's...
* Where did you get MinGW 15? I can't find it, neither [here](https://github.com/xpack-dev-tools/mingw-w64-gcc-xpack/releases) nor [here](https://nuwen.net/mingw.html). * With your MinWW 15, can you please compile ModelicaInternal.c via: `gcc.exe -Wall -Wpedantic -Wextra...
> A parital reply for now: > > * MinGW 15 is here: https://github.com/niXman/mingw-builds-binaries/releases Thanks. That's what I get now, hence I doubt it is a MSL issue. 
> If you have any Dymola release from the latest years, you can reproduce by selecting MinGW 15 in the Simulation setup and then do > > ``` > translateModelFMU(...
> * The `The best matching gcc directory:...` is just a warning message. You can workaround by renaming the folder "gcc510" to "gcc0510" If I only knew where to find...