Skip to content

Set compiler flags in CI workflow#4

Open
wkearn wants to merge 1 commit intoTopoToolbox:mainfrom
wkearn:set-compiler-warnings
Open

Set compiler flags in CI workflow#4
wkearn wants to merge 1 commit intoTopoToolbox:mainfrom
wkearn:set-compiler-warnings

Conversation

@wkearn
Copy link
Member

@wkearn wkearn commented Feb 27, 2026

These are the compiler flags used by libtopotoolbox. SWT will need to compile cleanly in order to be merged into libtopotoolbox, so we must resolve any compiler errors and warnings before moving forward. I have set the compiler to error on any warnings, which is somewhat strict, but will help us catch issues early on.

We set the flags in the CI workflow, not in the Makefile, to allow consumers of this package to choose the appropriate flags. This way one can still develop SWT in the presence of compiler warnings, but you won't be able to contribute PRs until the compiler warnings are resolved and the PR checks pass.

These are the compiler flags used by libtopotoolbox. SWT will need to
compile cleanly in order to be merged into libtopotoolbox, so we must
resolve any compiler errors and warnings before moving
forward. I have set the compiler to error on any warnings, which is
somewhat strict, but will help us catch issues early on.

We set the flags in the CI workflow, not in the Makefile, to allow
consumers of this package to choose the appropriate flags. This way
one can still develop SWT in the presence of compiler warnings, but
you won't be able to contribute PRs until the compiler warnings are
resolved and the PR checks pass.

Signed-off-by: William Kearney <william.kearney@uni-potsdam.de>
@wkearn wkearn mentioned this pull request Mar 12, 2026
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