From 3b93737876f443709ee0cec81627fe1186f44862 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sat, 22 Apr 2023 09:37:25 +0200 Subject: [PATCH] regtest: add C++11 flag to build of user_histo1.cpp For old compilers that don't default to C++11 or later --- dhat/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/dhat/tests/Makefile.am b/dhat/tests/Makefile.am index 818cc10d0..aba7f06fd 100644 --- a/dhat/tests/Makefile.am +++ b/dhat/tests/Makefile.am @@ -37,3 +37,4 @@ big_CFLAGS = $(AM_CFLAGS) -Wno-unused-result copy_CFLAGS = $(AM_CFLAGS) -fno-builtin user_histo1_SOURCES = user_histo1.cpp +user_histo1_CXXFLAGS = $(AM_CXXFLAGS) -std=c++11 -- 2.11.4.GIT