forked from boostorg/smart_ptr
Disabled some Borland warnings (David B. Held)
[SVN r14368]
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
|
|
||||||
#include <boost/detail/winapi.hpp>
|
#include <boost/detail/winapi.hpp>
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# pragma warn -8027 // Functions containing while are not expanded inline
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -83,4 +87,8 @@ public:
|
|||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# pragma warn .8027 // Functions containing while are not expanded inline
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // #ifndef BOOST_DETAIL_LWM_WIN32_HPP_INCLUDED
|
#endif // #ifndef BOOST_DETAIL_LWM_WIN32_HPP_INCLUDED
|
||||||
|
@@ -28,6 +28,11 @@
|
|||||||
#include <functional> // for std::less
|
#include <functional> // for std::less
|
||||||
#include <exception> // for std::exception
|
#include <exception> // for std::exception
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# pragma warn -8026 // Functions with excep. spec. are not expanded inline
|
||||||
|
# pragma warn -8027 // Functions containing try are not expanded inline
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -389,4 +394,9 @@ inline shared_count::shared_count(weak_count const & r): pi_(r.pi_)
|
|||||||
|
|
||||||
} // namespace boost
|
} // namespace boost
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
# pragma warn .8027 // Functions containing try are not expanded inline
|
||||||
|
# pragma warn .8026 // Functions with excep. spec. are not expanded inline
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // #ifndef BOOST_DETAIL_SHARED_COUNT_HPP_INCLUDED
|
#endif // #ifndef BOOST_DETAIL_SHARED_COUNT_HPP_INCLUDED
|
||||||
|
Reference in New Issue
Block a user