Disabled some Borland warnings (David B. Held)

[SVN r14368]
This commit is contained in:
Peter Dimov
2002-07-09 12:06:46 +00:00
parent d84fa738ef
commit dca9628be3
2 changed files with 18 additions and 0 deletions

View File

@ -18,6 +18,10 @@
#include <boost/detail/winapi.hpp>
#ifdef __BORLANDC__
# pragma warn -8027 // Functions containing while are not expanded inline
#endif
namespace boost
{
@ -83,4 +87,8 @@ public:
} // namespace boost
#ifdef __BORLANDC__
# pragma warn .8027 // Functions containing while are not expanded inline
#endif
#endif // #ifndef BOOST_DETAIL_LWM_WIN32_HPP_INCLUDED

View File

@ -28,6 +28,11 @@
#include <functional> // for std::less
#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
{
@ -389,4 +394,9 @@ inline shared_count::shared_count(weak_count const & r): pi_(r.pi_)
} // 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