Skip to content

build: add warning guard for MinGw and MS-MPI on windows - #2997

Closed
nandininmmahesh-dotcom wants to merge 1 commit into
su2code:masterfrom
nandininmmahesh-dotcom:fix/mingw-mpi-warning-dev
Closed

nandininmmahesh-dotcom wants to merge 1 commit into
su2code:masterfrom
nandininmmahesh-dotcom:fix/mingw-mpi-warning-dev

Conversation

@nandininmmahesh-dotcom

Copy link
Copy Markdown

Proposed Changes
Add a Meson build warning when building SU2 on Windows with MinGW GCC and MS-MPI enabled. This warns users that linking may fail without libmsmpi.a and suggests using MSVC or generating a MinGW import library instead.

Related Work
Ports the fix from SU2#1468 (branch fix/mingw-mpi-warning) to SU2-dev.

PR Checklist

  • I am submitting my contribution to the develop branch.
  • My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson).
  • My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/).
  • I used the pre-commit hook to prevent dirty commits and used pre-commit run --all to format old commits.
  • I have added a test case that demonstrates my contribution, if necessary.
  • I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.

@nandininmmahesh-dotcom
nandininmmahesh-dotcom deleted the fix/mingw-mpi-warning-dev branch November 1, 2026 10:58
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