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

Remove guard for GCC < 4.5 which is unsupported anyway

parent 7de53a3e
No related branches found
No related tags found
1 merge request!43Feature/valgrind with cmake
......@@ -23,21 +23,6 @@
#ifndef DUMUX_VALGRIND_HH
#define DUMUX_VALGRIND_HH
#ifndef __clang__
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
// do not do static_asserts for gcc < 4.5 (semantics changed, so old
// GCCs will complain when using static_assert)
# define static_assert(a, b)
// do not do valgrind client requests for gcc < 4.5 (old GCCs do not
// support anonymous template arguments which results in errors for
// BoundaryTypes)
# ifdef HAVE_VALGRIND
# undef HAVE_VALGRIND
# endif
#endif // GCC < 4.5
#endif // __clang__
#ifndef HAVE_VALGRIND
// make sure that the HAVE_VALGRIND macro is always defined
# define HAVE_VALGRIND 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment