Add -fallow-argument-mismatch only for Fortran and only for compilers that support it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rT test-suite
- Build Status
Buildable 93558 Build 130507: arc lint + arc unit
Event Timeline
External/SPEC/CFP2017rate/527.cam4_r/CMakeLists.txt | ||
---|---|---|
574 | Naming convention for the feature-test variable usually starts with "SUPPORTS_" or "${lang}_SUPPORTS_", e.g. FORTRAN_SUPPORTS_FALLOW_ARGUMENT_MISMATCH. | |
cmake/modules/Fortran.cmake | ||
30–36 ↗ | (On Diff #329789) | Why add more than CheckFortranCompilerFlag? |
Comment Actions
- Use standard convention for feature-test variables.
- Only add CMake Utility Modules that are actually used.
Naming convention for the feature-test variable usually starts with "SUPPORTS_" or "${lang}_SUPPORTS_", e.g. FORTRAN_SUPPORTS_FALLOW_ARGUMENT_MISMATCH.