From 117e0f7da65fc9671a2f53498f9096bbe3ab732d Mon Sep 17 00:00:00 2001
From: dedner <a.s.dedner@warwick.ac.uk>
Date: Mon, 14 Apr 2014 07:17:57 +0100
Subject: [PATCH] change error into warning so that 'make check' work with
 older (4.5.3) compiler

---
 dune/common/test/shared_ptrtest.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dune/common/test/shared_ptrtest.cc b/dune/common/test/shared_ptrtest.cc
index 5630487cb..c7991d21b 100644
--- a/dune/common/test/shared_ptrtest.cc
+++ b/dune/common/test/shared_ptrtest.cc
@@ -153,8 +153,8 @@ int main(){
 
     // test constructor from nullptr
 #ifndef HAVE_NULLPTR
-        #error Construction of shared_ptr from a nullptr will not work as compiler
-        #error does not support the latter.
+        #warning Construction of shared_ptr from a nullptr will not work as compiler
+        #warning does not support the latter.
     shared_ptr<double> bar_null=shared_ptr<double>();
 #else
     shared_ptr<double> bar_null(nullptr);
-- 
GitLab