Skip to content

Commit 71da3cf

Browse files
committedMay 14, 2023
add C++03 deprecation warnings
1 parent 95065ca commit 71da3cf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

‎include/boost/stacktrace/frame.hpp

+18
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@
1212
# pragma once
1313
#endif
1414

15+
#include <boost/config/pragma_message.hpp>
16+
#if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
17+
defined(BOOST_NO_CXX11_AUTO_DECLARATIONS) || \
18+
defined(BOOST_NO_CXX11_CONSTEXPR) || \
19+
defined(BOOST_NO_CXX11_NULLPTR) || \
20+
defined(BOOST_NO_CXX11_NOEXCEPT) || \
21+
defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) || \
22+
defined(BOOST_NO_CXX11_FINAL) || \
23+
defined(BOOST_NO_CXX11_ALIGNOF) || \
24+
defined(BOOST_NO_CXX11_STATIC_ASSERT) || \
25+
defined(BOOST_NO_CXX11_SMART_PTR) || \
26+
defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) || \
27+
defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
28+
29+
BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Stacktrace 1.82 and will be removed in Boost.Stacktrace 1.84.")
30+
31+
#endif
32+
1533
#include <iosfwd>
1634
#include <string>
1735

0 commit comments

Comments
 (0)