Skip to content

Commit 070e351

Browse files
committed
fix compiler error, addresses issue #1012
1 parent 1be04bf commit 070e351

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

include/boost/geometry/geometry.hpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,10 @@
2020
#ifndef BOOST_GEOMETRY_GEOMETRY_HPP
2121
#define BOOST_GEOMETRY_GEOMETRY_HPP
2222

23-
#if !defined(BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING)
2423
#include <boost/config.hpp>
24+
2525
#if defined(BOOST_NO_CXX14_CONSTEXPR)
26-
#include <boost/config/pragma_message.hpp>
27-
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.")
28-
BOOST_PRAGMA_MESSAGE("CAUTION: Define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to suppress this message.")
29-
#endif
26+
#error "Use C++14 or higher to compile Boost.Geometry, or use Boost 1.72 or lower."
3027
#endif
3128

3229
// Shortcut to include all header files

0 commit comments

Comments
 (0)