From 24ddd4bf79e5e56b0045bdf57658fe4835949e6f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 9 Feb 2023 23:09:01 -0500 Subject: [PATCH] Fix DEAL_II_COMPILER_HAS_ATTRIBUTE_ALWAYS_INLINE with -Werror --- cmake/checks/check_02_compiler_features.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/checks/check_02_compiler_features.cmake b/cmake/checks/check_02_compiler_features.cmake index 990eb0f77c..52553b2cd4 100644 --- a/cmake/checks/check_02_compiler_features.cmake +++ b/cmake/checks/check_02_compiler_features.cmake @@ -276,7 +276,7 @@ endif() # CHECK_CXX_SOURCE_COMPILES( " - __attribute__((always_inline)) int fn () { return 0; } + __attribute__((always_inline)) inline int fn () { return 0; } int main () { return fn(); } " DEAL_II_COMPILER_HAS_ATTRIBUTE_ALWAYS_INLINE -- 2.39.5