Skip to content

Update fmi4c to v1.2 - #109

Merged
AnHeuermann merged 4 commits into
OpenModelica:masterfrom
AnHeuermann:update-fmi4c
Sep 28, 2026
Merged

AnHeuermann merged 4 commits into
OpenModelica:masterfrom
AnHeuermann:update-fmi4c

Conversation

@AnHeuermann

Copy link
Copy Markdown
Member

Issue

Update fmi4c to release v1.2.

Changes

  • Removed copy of fmi4c
  • Added fmi4c as shallow submodule pointing to tag v1.2 (current master)

@AnHeuermann AnHeuermann self-assigned this Aug 26, 2026
@AnHeuermann

Copy link
Copy Markdown
Member Author

This introduces breaking API changes. OMSimulator needs to be updated as well.
But also the 3rd party tools from fmi4c are now a newer version and produce no compiler warnings any more 🎉

* Removed copy of fmi4c and added it as submodule
The vendored fmi4c.h used to define it before including windows.h, so that
windows.h does not pull in winsock.h, which breaks Asio. Upstream fmi4c does
not, so set it as a public compile definition of the fmi4c target instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnHeuermann

Copy link
Copy Markdown
Member Author

This needs robbr48/fmi4c#101 to be merged (or we create a fork with the fix)

AnHeuermann and others added 2 commits September 25, 2026 17:55
Temporarily point the fmi4c submodule to the fork until
robbr48/fmi4c#101 and robbr48/fmi4c#102 are merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
robbr48/fmi4c#101 and robbr48/fmi4c#102 are merged, so point the submodule
back to upstream at 2e5784b.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AnHeuermann
AnHeuermann merged commit d901c3a into OpenModelica:master Sep 28, 2026
7 checks passed
@AnHeuermann
AnHeuermann deleted the update-fmi4c branch September 28, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant