From: Daniel Arndt Date: Fri, 10 Feb 2023 04:09:01 +0000 (-0500) Subject: Fix DEAL_II_COMPILER_HAS_ATTRIBUTE_ALWAYS_INLINE with -Werror X-Git-Tag: v9.5.0-rc1~558^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24ddd4bf79e5e56b0045bdf57658fe4835949e6f;p=dealii.git Fix DEAL_II_COMPILER_HAS_ATTRIBUTE_ALWAYS_INLINE with -Werror --- 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