Ticket #7340: warnings.patch
File warnings.patch, 2.1 KB (added by , 10 years ago) |
---|
-
chain.hpp
44 44 # include <boost/mpl/int.hpp> 45 45 #endif 46 46 47 // Must come last. 48 #include <boost/iostreams/detail/config/disable_warnings.hpp> 49 47 50 // Sometimes type_info objects must be compared by name. Borrowed from 48 51 // Boost.Python and Boost.Function. 49 52 #if (defined(__GNUC__) && __GNUC__ >= 3) || \ … … 595 598 596 599 } } // End namespaces iostreams, boost. 597 600 601 #include <boost/iostreams/detail/config/enable_warnings.hpp> 602 598 603 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CHAIN_HPP_INCLUDED -
detail/config/disable_warnings.hpp
14 14 # pragma warning(disable:4130) // Logical operation on address of string constant. 15 15 # pragma warning(disable:4224) // Parameter previously defined as type. 16 16 # pragma warning(disable:4244) // Conversion: possible loss of data. 17 # pragma warning(disable:4250) // inherits via dominance 17 18 # pragma warning(disable:4512) // Assignment operator could not be generated. 19 # pragma warning(disable:4702) // Unreachable code. 18 20 # pragma warning(disable:4706) // Assignment within conditional expression. 19 21 # if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 20 22 # pragma warning(disable:6334) // sizeof applied to an expression with an operator. -
stream.hpp
23 23 #include <boost/type_traits/is_convertible.hpp> 24 24 #include <boost/utility/base_from_member.hpp> 25 25 26 // Must come last. 27 #include <boost/iostreams/detail/config/disable_warnings.hpp> 28 26 29 namespace boost { namespace iostreams { namespace detail { 27 30 28 31 template<typename Device, typename Tr> … … 148 151 149 152 #endif // #ifdef BOOST_IOSTREAMS_BROKEN_OVERLOAD_RESOLUTION 150 153 154 #include <boost/iostreams/detail/config/enable_warnings.hpp> 155 151 156 #endif // #ifndef BOOST_IOSTREAMS_stream_HPP_INCLUDED