mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
fix compiler error, addresses issue #1012
This commit is contained in:
parent
1be04bf84d
commit
070e3517c4
@ -20,13 +20,10 @@
|
||||
#ifndef BOOST_GEOMETRY_GEOMETRY_HPP
|
||||
#define BOOST_GEOMETRY_GEOMETRY_HPP
|
||||
|
||||
#if !defined(BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING)
|
||||
#include <boost/config.hpp>
|
||||
|
||||
#if defined(BOOST_NO_CXX14_CONSTEXPR)
|
||||
#include <boost/config/pragma_message.hpp>
|
||||
BOOST_PRAGMA_MESSAGE("CAUTION: Boost.Geometry in Boost 1.73 deprecates support for C++03 and will require C++14 from Boost 1.75 onwards.")
|
||||
BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.")
|
||||
#endif
|
||||
#error "Use C++14 or higher to compile Boost.Geometry, or use Boost 1.72 or lower."
|
||||
#endif
|
||||
|
||||
// Shortcut to include all header files
|
||||
|
Loading…
x
Reference in New Issue
Block a user