it turns out the intel compiler doesn't like deprecated using:
```
In file included from /ssd/deal-git/source/lac/affine_constraints.cc(16):
/ssd/deal-git/include/deal.II/lac/affine_constraints.h(65): warning #2651: attribute does not apply to any entity
using ConstraintMatrix DEAL_II_DEPRECATED = AffineConstraints<double>;
```
This updates the cmake check to stop this from happening.
[[deprecated]] void test();
};
+ template <int dim>
+ struct foo {};
+ using bar [[deprecated]] = foo<2>;
+
int main () {}
"
DEAL_II_COMPILER_HAS_CXX14_ATTRIBUTE_DEPRECATED
__attribute__((deprecated)) void test();
};
+ template <int dim>
+ struct foo {};
+ using bar __attribute__((deprecated)) = foo<2>;
+
int main () {}
"
DEAL_II_COMPILER_HAS_ATTRIBUTE_DEPRECATED
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams