Skip to content

Intel/IntelLLVM: Fortran has distinct "-Werror"-like flag

scivision requested to merge scivision/cmake:intel-fort-error into master

!7187 (merged) introduced the greatly appreciated COMPILE_WARNING_AS_ERROR property. However, the Intel and IntelLLVM compilers on non-Windows systems cannot use -Werror or -Werror-all. The corresponding flags for Fortran are -warn errors or /warn:errors

Backport: release
Topic-rename: Intel-Fortran-warn-errors

Edited by Brad King

Merge request reports