Index: boost/circular_buffer/space_optimized.hpp =================================================================== --- boost/circular_buffer/space_optimized.hpp (Revision 40164) +++ boost/circular_buffer/space_optimized.hpp (Arbeitskopie) @@ -1230,7 +1230,7 @@ if (new_size > new_capacity) { if (new_capacity == 0) new_capacity = 1; - for (; new_size > new_capacity; new_capacity *= 2); + for (; new_size > new_capacity; new_capacity *= 2) {} circular_buffer::set_capacity( ensure_reserve(new_capacity, new_size)); } Index: boost/circular_buffer/debug.hpp =================================================================== --- boost/circular_buffer/debug.hpp (Revision 40164) +++ boost/circular_buffer/debug.hpp (Arbeitskopie) @@ -121,7 +121,7 @@ */ void unregister_iterator(const debug_iterator_base* it) const { const debug_iterator_base* previous = 0; - for (const debug_iterator_base* p = m_iterators; p != it; previous = p, p = p->next()); + for (const debug_iterator_base* p = m_iterators; p != it; previous = p, p = p->next()) {} remove(it, previous); } Index: boost/fusion/sequence/utility.hpp =================================================================== --- boost/fusion/sequence/utility.hpp (Revision 40164) +++ boost/fusion/sequence/utility.hpp (Arbeitskopie) @@ -9,6 +9,6 @@ #if !defined(BOOST_FUSION_SEQUENCE_UTILITY_HPP_INCLUDED) #define BOOST_FUSION_SEQUENCE_UTILITY_HPP_INCLUDED -# include +//# include #endif // include guard Index: boost/token_functions.hpp =================================================================== --- boost/token_functions.hpp (Revision 40164) +++ boost/token_functions.hpp (Arbeitskopie) @@ -335,11 +335,12 @@ if (next == end) return false; - if (current_offset_ == offsets_.size()) + if (current_offset_ == offsets_.size()) { if (wrap_offsets_) current_offset_=0; else return false; + } int c = offsets_[current_offset_]; int i = 0; @@ -448,13 +449,14 @@ else { // m_empty_tokens == keep_empty_tokens // Handle empty token at the end - if (next == end) + if (next == end) { if (m_output_done == false) { m_output_done = true; assigner::assign(start,next,tok); return true; } else return false; + } if (is_kept(*next)) { if (m_output_done == false) Index: boost/archive/basic_xml_archive.hpp =================================================================== --- boost/archive/basic_xml_archive.hpp (Revision 40164) +++ boost/archive/basic_xml_archive.hpp (Arbeitskopie) @@ -36,7 +36,7 @@ xml_archive_tag_mismatch, xml_archive_tag_name_error } exception_code; - xml_archive_exception(exception_code c) + xml_archive_exception(exception_code) {} virtual const char *what( ) const throw( ) { Index: boost/archive/detail/common_iarchive.hpp =================================================================== --- boost/archive/detail/common_iarchive.hpp (Revision 40164) +++ boost/archive/detail/common_iarchive.hpp (Arbeitskopie) @@ -60,8 +60,8 @@ } // default implementations of functions which emit start/end tags for // archive types that require them. - void load_start(const char *name){} - void load_end(const char *name){} + void load_start(const char * /*name*/){} + void load_end(const char * /*name*/){} // default archive initialization common_iarchive(unsigned int flags = 0) : basic_iarchive(flags), Index: boost/archive/iterators/dataflow.hpp =================================================================== --- boost/archive/iterators/dataflow.hpp (Revision 40164) +++ boost/archive/iterators/dataflow.hpp (Arbeitskopie) @@ -43,7 +43,7 @@ enum state_enum { is_false = false, is_true = true, - is_indeterminant, + is_indeterminant } m_state; // convert to bool operator bool (){ @@ -53,6 +53,7 @@ // assign from bool tri_state & operator=(bool rhs) { m_state = rhs ? is_true : is_false; + return *this; } tri_state(bool rhs) : m_state(rhs ? is_true : is_false) Index: boost/archive/iterators/head_iterator.hpp =================================================================== --- boost/archive/iterators/head_iterator.hpp (Revision 40164) +++ boost/archive/iterators/head_iterator.hpp (Arbeitskopie) @@ -48,11 +48,11 @@ reference_type dereference_impl(){ if(! m_end){ - while(! m_predicate(* base_reference())) - ++ base_reference(); + while(! m_predicate(* this->base_reference())) + ++ this->base_reference(); m_end = true; } - return * base_reference(); + return * this->base_reference(); } reference_type dereference() const { @@ -60,7 +60,7 @@ } void increment(){ - ++base_reference(); + ++this->base_reference(); } Predicate m_predicate; bool m_end; Index: boost/archive/tmpdir.hpp =================================================================== --- boost/archive/tmpdir.hpp (Revision 40164) +++ boost/archive/tmpdir.hpp (Arbeitskopie) @@ -29,8 +29,8 @@ namespace boost { namespace archive { -inline char * tmpdir(){ - char *dirname; +inline const char * tmpdir(){ + const char *dirname; dirname = std::getenv("TMP"); if(NULL == dirname) dirname = std::getenv("TMPDIR"); Index: boost/archive/basic_binary_iprimitive.hpp =================================================================== --- boost/archive/basic_binary_iprimitive.hpp (Revision 40164) +++ boost/archive/basic_binary_iprimitive.hpp (Arbeitskopie) @@ -160,7 +160,7 @@ static_cast(address), s ); - if(scount != static_cast(s)) + if(scount != s) boost::throw_exception( archive_exception(archive_exception::stream_error) ); Index: boost/date_time/dst_rules.hpp =================================================================== --- boost/date_time/dst_rules.hpp (Revision 40164) +++ boost/date_time/dst_rules.hpp (Arbeitskopie) @@ -314,11 +314,11 @@ { if (year >= year_type(2007)) { //second sunday in march - nkday ssim(nkday::second, Sunday, gregorian::Mar); + nkday ssim(nkday::second, Sunday, Mar); return ssim.get_date(year); } else { //first sunday in april - fkday fsia(Sunday, gregorian::Apr); + fkday fsia(Sunday, Apr); return fsia.get_date(year); } } @@ -327,11 +327,11 @@ { if (year >= year_type(2007)) { //first sunday in november - fkday fsin(Sunday, gregorian::Nov); + fkday fsin(Sunday, Nov); return fsin.get_date(year); } else { //last sunday in october - lkday lsio(Sunday, gregorian::Oct); + lkday lsio(Sunday, Oct); return lsio.get_date(year); } } Index: boost/date_time/local_time_adjustor.hpp =================================================================== --- boost/date_time/local_time_adjustor.hpp (Revision 40164) +++ boost/date_time/local_time_adjustor.hpp (Arbeitskopie) @@ -15,6 +15,7 @@ #include "boost/date_time/date_generators.hpp" #include "boost/date_time/dst_rules.hpp" +#include "boost/date_time/time_defs.hpp" // boost::date_time::dst_flags #include namespace boost { Index: boost/logic/tribool.hpp =================================================================== --- boost/logic/tribool.hpp (Revision 40164) +++ boost/logic/tribool.hpp (Arbeitskopie) @@ -336,7 +336,7 @@ if (indeterminate(x) || indeterminate(y)) return indeterminate; else - return x && y || !x && !y; + return (x && y) || (!x && !y); } /** @@ -399,7 +399,7 @@ if (indeterminate(x) || indeterminate(y)) return indeterminate; else - return !(x && y || !x && !y); + return !((x && y) || (!x && !y)); } /** Index: boost/numeric/interval/arith2.hpp =================================================================== --- boost/numeric/interval/arith2.hpp (Revision 40164) +++ boost/numeric/interval/arith2.hpp (Arbeitskopie) @@ -275,7 +275,7 @@ if (k == 1) return x; typename Policies::rounding rnd; typedef typename interval_lib::unprotect::type R; - if (!interval_lib::user::is_pos(x.upper())) + if (!interval_lib::user::is_pos(x.upper())) { if (interval_lib::user::is_zero(x.upper())) { T zero(0); if (!(k & 1) || interval_lib::user::is_zero(x.lower())) // [-1,0]^/2 or [0,0] @@ -288,6 +288,7 @@ return I(-interval_lib::detail::root_aux_up(-x.lower(), k), -interval_lib::detail::root_aux_dn(-x.upper(), k), true); } + } T u = interval_lib::detail::root_aux_up(x.upper(), k); if (!interval_lib::user::is_pos(x.lower())) if (!(k & 1) || interval_lib::user::is_zero(x.lower())) // [-1,1]^/2 or [0,1] Index: boost/numeric/ublas/detail/vector_assign.hpp =================================================================== --- boost/numeric/ublas/detail/vector_assign.hpp (Revision 40164) +++ boost/numeric/ublas/detail/vector_assign.hpp (Arbeitskopie) @@ -13,6 +13,7 @@ #ifndef _BOOST_UBLAS_VECTOR_ASSIGN_ #define _BOOST_UBLAS_VECTOR_ASSIGN_ +#include // scalar_assign // Required for make_conformant storage #include Index: boost/numeric/ublas/operation_blocked.hpp =================================================================== --- boost/numeric/ublas/operation_blocked.hpp (Revision 40164) +++ boost/numeric/ublas/operation_blocked.hpp (Arbeitskopie) @@ -14,6 +14,8 @@ #define _BOOST_UBLAS_OPERATION_BLOCKED_ #include +#include // indexing_vector_assign +#include // indexing_matrix_assign namespace boost { namespace numeric { namespace ublas { Index: boost/bimap/detail/set_view_iterator.hpp =================================================================== --- boost/bimap/detail/set_view_iterator.hpp (Revision 40164) +++ boost/bimap/detail/set_view_iterator.hpp (Arbeitskopie) @@ -86,7 +86,7 @@ // Serialization support - BOOST_SERIALIZATION_SPLIT_MEMBER(); + BOOST_SERIALIZATION_SPLIT_MEMBER() friend class ::boost::serialization::access; @@ -162,7 +162,7 @@ // Serialization support - BOOST_SERIALIZATION_SPLIT_MEMBER(); + BOOST_SERIALIZATION_SPLIT_MEMBER() friend class ::boost::serialization::access; Index: boost/bimap/detail/map_view_iterator.hpp =================================================================== --- boost/bimap/detail/map_view_iterator.hpp (Revision 40164) +++ boost/bimap/detail/map_view_iterator.hpp (Arbeitskopie) @@ -88,7 +88,7 @@ // Serialization support - BOOST_SERIALIZATION_SPLIT_MEMBER(); + BOOST_SERIALIZATION_SPLIT_MEMBER() friend class ::boost::serialization::access; @@ -169,7 +169,7 @@ // Serialization support - BOOST_SERIALIZATION_SPLIT_MEMBER(); + BOOST_SERIALIZATION_SPLIT_MEMBER() friend class ::boost::serialization::access; Index: boost/bimap/support/lambda.hpp =================================================================== --- boost/bimap/support/lambda.hpp (Revision 40164) +++ boost/bimap/support/lambda.hpp (Arbeitskopie) @@ -31,11 +31,10 @@ boost::lambda::placeholder1_type & _left = boost::lambda::_1; boost::lambda::placeholder2_type & _right = boost::lambda::_2; -*/ boost::lambda::placeholder1_type & _key = boost::lambda::_1; boost::lambda::placeholder1_type & _data = boost::lambda::_1; - +*/ } } // namespace bimaps Index: boost/bimap/relation/member_at.hpp =================================================================== --- boost/bimap/relation/member_at.hpp (Revision 40164) +++ boost/bimap/relation/member_at.hpp (Arbeitskopie) @@ -63,7 +63,7 @@ struct info {}; -}; +} } // namespace relation } // namespace bimaps Index: boost/format/parsing.hpp =================================================================== --- boost/format/parsing.hpp (Revision 40164) +++ boost/format/parsing.hpp (Arbeitskopie) @@ -16,6 +16,7 @@ #include +#include // bad_format_string #include #include Index: boost/asio/ssl/detail/openssl_init.hpp =================================================================== --- boost/asio/ssl/detail/openssl_init.hpp (Revision 40164) +++ boost/asio/ssl/detail/openssl_init.hpp (Arbeitskopie) @@ -82,7 +82,7 @@ private: static void openssl_locking_func(int mode, int n, - const char *file, int line) + const char * /*file*/, int /*line*/) { if (mode & CRYPTO_LOCK) instance()->mutexes_[n]->lock(); @@ -99,7 +99,8 @@ openssl_init() : ref_(do_init::instance()) { - while (&instance_ == 0); // Ensure openssl_init::instance_ is linked in. + // warning: the address of 'boost::asio::ssl::detail::openssl_init::instance_' will never be NULL + while (&instance_ == 0) {} // Ensure openssl_init::instance_ is linked in. } // Destructor.