Commit cc6d30dc authored by Andreas Lauser's avatar Andreas Lauser
Browse files

disable valgrind client requests and static asserts for gcc < 4.5 instead of gcc < 4.4

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5166 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent fad83de4
......@@ -30,12 +30,12 @@
#define HAVE_VALGRIND 0
#endif
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
// do not do static_asserts for gcc < 4.4 (semantics changed, so old
#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.4 (old GCCs do not
// do not do valgrind client requests for gcc < 4.5 (old GCCs do not
// support anonymous template arguments which results in errors inside
// the BoundaryTypes class)
#define SetUndefined(a) foo();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment