mirror of
https://github.com/boostorg/parameter.git
synced 2026-01-19 16:32:13 +00:00
Recent change to Boost.Math, on which Boost.Graph depends, made it incompatible with MSVC 14.0. Rather than check for a specific compiler version, add a configure-time check whether Boost.Graph compiles (or at least the part that is used in Boost.Parameter tests). Disable the tests that depend on Boost.Graph if that check fails. Refs https://github.com/boostorg/math/issues/1275.
19 lines
603 B
C++
19 lines
603 B
C++
/*
|
|
* Copyright Andrey Semashev 2025.
|
|
* 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)
|
|
*/
|
|
|
|
// This test checks whether the portion of Boost.Graph that is used by Boost.Parameter tests
|
|
// is compatible with the current compiler. The headers listed below are used in Boost.Parameter tests.
|
|
|
|
#include <boost/graph/graph_traits.hpp>
|
|
#include <boost/graph/properties.hpp>
|
|
#include <boost/graph/depth_first_search.hpp>
|
|
#include <boost/graph/adjacency_list.hpp>
|
|
|
|
int main()
|
|
{
|
|
}
|