mirror of
https://github.com/boostorg/move.git
synced 2025-07-30 04:17:13 +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_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]
|
||||
|
||||
* Fixed bugs:
|
||||
|
@ -23,12 +23,12 @@
|
||||
#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_END _GLIBCXX_END_NAMESPACE
|
||||
#else
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1915)
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable : 4643) // Forward declaring 'X' in namespace std is not permitted by the C++ Standard
|
||||
#endif
|
||||
|
||||
#define BOOST_MOVE_STD_NS_BEG namespace std{
|
||||
#define BOOST_MOVE_STD_NS_END }
|
||||
#elif defined(BOOST_DINKUMWARE_STDLIB)
|
||||
#define BOOST_MOVE_STD_NS_BEG _STD_BEGIN
|
||||
#define BOOST_MOVE_STD_NS_END _STD_END
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1915)
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable : 4643) // Forward declaring 'X' in namespace std is not permitted by the C++ Standard
|
||||
#endif
|
||||
|
@ -14,3 +14,6 @@
|
||||
#elif defined(_MSC_VER) && (_MSC_VER >= 1915)
|
||||
#pragma warning (pop)
|
||||
#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