Skip to content

Disable GCC nonnull warnings as errors - #2

Merged
Knogle merged 1 commit into
open.mpfrom
codex/fix-build-errors-in-plugin
Jan 30, 2026
Merged

Knogle merged 1 commit into
open.mpfrom
codex/fix-build-errors-in-plugin

Conversation

@Knogle

@Knogle Knogle commented Jan 30, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Prevent Boost concept-check instantiation warnings like -Werror=nonnull being treated as errors by GCC so the project can build successfully.

Description

  • Add a GNU-only CMake conditional to CMakeLists.txt which appends the C++ compile option -Wno-error=nonnull via add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wno-error=nonnull>).

Testing

  • No automated tests or builds were run for this change.

Codex Task

@Knogle
Knogle merged commit d997169 into open.mp Jan 30, 2026
4 checks passed
Knogle added a commit that referenced this pull request Mar 13, 2026
Disable GCC nonnull warnings as errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant