Branch: refs/heads/main
Revision: 35736f7
Author: DanilaFe
Link: dyno: Adjust makefile to ensure C++ compiler throws warnings as needed by DanilaFe · Pull Request #20459 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #20459 from DanilaFe/fix-cmake-flags
dyno: Adjust makefile to ensure C++ compiler throws warnings as needed
Prior to this commit, C++ files in Dyno did not receive WARN_CXXFLAGS,
and thus did not always throw warnings. This made it possible to push
code past CI that did not work on some machines due to -Werror.
This PR ensures that warning flags are fed to the C++ compiler.
It also adjusts the linter to skip feeding some GCC-specific flags
to clang.
Reviewed by @mppf - thanks!
TESTING:
See PR Checks in GitHub CI
Modified Files:
M compiler/dyno/Makefile.help
M compiler/dyno/util/lint
Compare: https://github.com/chapel-lang/chapel/compare/3d54c9f456c1...35736f7b0928