|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2008-01-14 08:22:22
Author: chris_kohlhoff
Date: 2008-01-14 08:22:21 EST (Mon, 14 Jan 2008)
New Revision: 42754
URL: http://svn.boost.org/trac/boost/changeset/42754
Log:
Disable noisy and incorrect /Wp64 warnings generated by MSVC.
Text files modified:
trunk/boost/asio/detail/push_options.hpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/boost/asio/detail/push_options.hpp
==============================================================================
--- trunk/boost/asio/detail/push_options.hpp (original)
+++ trunk/boost/asio/detail/push_options.hpp 2008-01-14 08:22:21 EST (Mon, 14 Jan 2008)
@@ -90,6 +90,12 @@
# pragma warning (disable:4244)
# pragma warning (disable:4355)
# pragma warning (disable:4675)
+# if defined(_M_IX86) && defined(_Wp64)
+// The /Wp64 option is broken. If you want to check 64 bit portability, use a
+// 64 bit compiler!
+# pragma warning (disable:4311)
+# pragma warning (disable:4312)
+# endif // defined(_M_IX86) && defined(_Wp64)
# pragma pack (push, 8)
// Note that if the /Og optimisation flag is enabled with MSVC6, the compiler
// has a tendency to incorrectly optimise away some calls to member template
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk