Skip to content

fix: MNASolverPlugins examples#346

Merged
n-eiling merged 3 commits into
masterfrom
fix-mnasolver-plugins
Mar 31, 2025
Merged

fix: MNASolverPlugins examples#346
n-eiling merged 3 commits into
masterfrom
fix-mnasolver-plugins

Conversation

@fwege
Copy link
Copy Markdown
Contributor

@fwege fwege commented Mar 31, 2025

MNASolverPlugin examples were not compilable on current master.

This PR fixes:

  1. MNASolverDynInterface.h not includable in C plugins due to C++ specific usage of extern "C"
  2. Include paths in Makefiles of example and magma plugin
  3. Library name of example plugin

fwege added 3 commits March 31, 2025 11:40
To allow C plugins to include MNASolverDynInterface, `extern "C"` needs
to be wrapped in a preprocessor condition for C++ only.

Signed-off-by: Felix Wege <fwege@eonerc.rwth-aachen.de>
Signed-off-by: Felix Wege <fwege@eonerc.rwth-aachen.de>
Signed-off-by: Felix Wege <fwege@eonerc.rwth-aachen.de>
@fwege fwege requested a review from n-eiling as a code owner March 31, 2025 09:59
@sonarqubecloud
Copy link
Copy Markdown

@n-eiling n-eiling merged commit a4ce2a4 into master Mar 31, 2025
@n-eiling n-eiling deleted the fix-mnasolver-plugins branch March 31, 2025 12:39
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.

2 participants