Skip to content
Snippets Groups Projects
Commit ac07dab3 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[CMake] Remove check for __attribute__((always_inline)).

The test result was never used. The test slipped in as a copy from
the CMake code snippet from DuMuX.
parent 0fa384d8
Branches
Tags
No related merge requests found
......@@ -121,17 +121,6 @@ CHECK_CXX_SOURCE_COMPILES("
endif(NOT DISABLE_TR1_HEADERS)
# __attribute__((always_inline))
CHECK_CXX_SOURCE_COMPILES("
void __attribute__((always_inline)) foo(void) {}
int main(void)
{
foo();
return 0;
};
" HAVE_ATTRIBUTE_ALWAYS_INLINE
)
# __attribute__((unused))
CHECK_CXX_SOURCE_COMPILES("
int main(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment