Skip to content

Commit 8c90d00

Browse files
committed
intel compiler: suppress warning
1 parent fb6efef commit 8c90d00

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/setup_compiler_flags_intel.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ enable_if_supported(DEAL_II_WARNING_FLAGS "-diag-disable=16219")
8282
# -w383 value copied to temporary, reference to temporary used
8383
# -w854 const variable requires an initializer (defect 253 in http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html)
8484
# -w981 operands are evaluated in unspecified order
85+
# -w1011 missing return statement at end of non-void function
86+
# (incorrectly triggered by constexpr if, see #18681)
8587
# -w1418 external function definition with no prior declaration
8688
# (happens in boost)
8789
# -w1478 deprecation warning
@@ -108,6 +110,7 @@ enable_if_supported(DEAL_II_WARNING_FLAGS "-wd327")
108110
enable_if_supported(DEAL_II_WARNING_FLAGS "-wd383")
109111
enable_if_supported(DEAL_II_WARNING_FLAGS "-wd854")
110112
enable_if_supported(DEAL_II_WARNING_FLAGS "-wd981")
113+
enable_if_supported(DEAL_II_WARNING_FLAGS "-wd1011")
111114
enable_if_supported(DEAL_II_WARNING_FLAGS "-wd1418")
112115
enable_if_supported(DEAL_II_WARNING_FLAGS "-wd1478")
113116
enable_if_supported(DEAL_II_WARNING_FLAGS "-wd1572")

0 commit comments

Comments
 (0)