From 95524a6af4bd4750c19ff18f701e5720b04b7f8c Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 27 Jun 2022 19:58:22 +0200 Subject: [PATCH] bypassed scoped_allocator test for GCC 4.7 and prior --- test/unordered/scoped_allocator.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/unordered/scoped_allocator.cpp b/test/unordered/scoped_allocator.cpp index 08a9397f..a8e02c8b 100644 --- a/test/unordered/scoped_allocator.cpp +++ b/test/unordered/scoped_allocator.cpp @@ -1,12 +1,13 @@ -// Copyright 2021 Christian Mazakas. +// Copyright 2021-2022 Christian Mazakas. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include #include +#include -#if BOOST_CXX_VERSION <= 199711L +#if BOOST_CXX_VERSION <= 199711L || BOOST_WORKAROUND(BOOST_GCC_VERSION, < 40800) BOOST_PRAGMA_MESSAGE( "scoped allocator adaptor tests only work under C++11 and above")