From 4fce93eea903183aaa0d93b53c6db93b6ea263c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 9 May 2018 17:31:30 +0200
Subject: [PATCH] Enforce C++ 2003 standard (with GNU extensions), to silence
 deprecation warnings

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 72ddf60f..75dd9046 100755
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ esac
 # Use C++ for testing headers
 AC_LANG([C++])
 
-CXXFLAGS="$CXXFLAGS -Wall -Wno-parentheses"
+CXXFLAGS="$CXXFLAGS -std=gnu++03 -Wall -Wno-parentheses"
 
 # If default 'ar' is not available, try to find one with a host prefix (see ticket #145)
 AC_CHECK_PROGS([AR], [ar ${host_alias}-ar])
-- 
GitLab