mirror of
https://github.com/boostorg/move.git
synced 2025-07-31 04:47:14 +02:00
Fixes #292 ("Forward declarations of std types cause compilation errors on some platforms")
This commit is contained in:
@ -802,6 +802,15 @@ Special thanks to:
|
|||||||
|
|
||||||
[section:release_notes Release Notes]
|
[section:release_notes Release Notes]
|
||||||
|
|
||||||
|
[section:release_notes_boost_1_87 Boost 1.87 Release]
|
||||||
|
|
||||||
|
* Fixed bugs:
|
||||||
|
* [@https://github.com/boostorg/move/issues/292 Git Issue #292: ['"Forward declarations of std types cause compilation errors on some platforms"]].
|
||||||
|
|
||||||
|
[endsect]
|
||||||
|
|
||||||
|
Forward declarations of std types cause compilation errors on some platforms #292
|
||||||
|
|
||||||
[section:release_notes_boost_1_85 Boost 1.85 Release]
|
[section:release_notes_boost_1_85 Boost 1.85 Release]
|
||||||
|
|
||||||
* Fixed bugs:
|
* Fixed bugs:
|
||||||
|
@ -23,12 +23,12 @@
|
|||||||
#elif defined(BOOST_GNU_STDLIB) && defined(_GLIBCXX_BEGIN_NAMESPACE) //GCC >= 4.2
|
#elif defined(BOOST_GNU_STDLIB) && defined(_GLIBCXX_BEGIN_NAMESPACE) //GCC >= 4.2
|
||||||
#define BOOST_MOVE_STD_NS_BEG _GLIBCXX_BEGIN_NAMESPACE(std)
|
#define BOOST_MOVE_STD_NS_BEG _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||||
#define BOOST_MOVE_STD_NS_END _GLIBCXX_END_NAMESPACE
|
#define BOOST_MOVE_STD_NS_END _GLIBCXX_END_NAMESPACE
|
||||||
#else
|
#elif defined(BOOST_DINKUMWARE_STDLIB)
|
||||||
#if defined(_MSC_VER) && (_MSC_VER >= 1915)
|
#define BOOST_MOVE_STD_NS_BEG _STD_BEGIN
|
||||||
#pragma warning (push)
|
#define BOOST_MOVE_STD_NS_END _STD_END
|
||||||
#pragma warning (disable : 4643) // Forward declaring 'X' in namespace std is not permitted by the C++ Standard
|
#endif
|
||||||
#endif
|
|
||||||
|
#if defined(_MSC_VER) && (_MSC_VER >= 1915)
|
||||||
#define BOOST_MOVE_STD_NS_BEG namespace std{
|
#pragma warning (push)
|
||||||
#define BOOST_MOVE_STD_NS_END }
|
#pragma warning (disable : 4643) // Forward declaring 'X' in namespace std is not permitted by the C++ Standard
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,3 +14,6 @@
|
|||||||
#elif defined(_MSC_VER) && (_MSC_VER >= 1915)
|
#elif defined(_MSC_VER) && (_MSC_VER >= 1915)
|
||||||
#pragma warning (pop)
|
#pragma warning (pop)
|
||||||
#endif //BOOST_MOVE_STD_NS_GCC_DIAGNOSTIC_PUSH
|
#endif //BOOST_MOVE_STD_NS_GCC_DIAGNOSTIC_PUSH
|
||||||
|
|
||||||
|
#undef BOOST_MOVE_STD_NS_BEG
|
||||||
|
#undef BOOST_MOVE_STD_NS_END
|
||||||
|
Reference in New Issue
Block a user