Index: array.hpp =================================================================== --- array.hpp (revision 43991) +++ array.hpp (working copy) @@ -48,8 +48,10 @@ { return m_element_count; } + +private: + array& operator=(const array&); - private: value_type* m_t; std::size_t const m_element_count; Index: binary_object.hpp =================================================================== --- binary_object.hpp (revision 43991) +++ binary_object.hpp (working copy) @@ -56,6 +56,9 @@ m_t(rhs.m_t), m_size(rhs.m_size) {} + +private: + binary_object& operator=(const binary_object&); }; // just a little helper to support the convention that all serialization Index: deque.hpp =================================================================== --- deque.hpp (revision 43991) +++ deque.hpp (working copy) @@ -42,7 +42,7 @@ inline void load( Archive & ar, std::deque &t, - const unsigned int file_version + const unsigned int /*file_version*/ ){ boost::serialization::stl::load_collection< Archive, Index: export.hpp =================================================================== --- export.hpp (revision 43991) +++ export.hpp (working copy) @@ -115,14 +115,14 @@ template struct guid_initializer { - const guid_initializer & export_guid(char const* key, mpl::false_){ + const guid_initializer & export_guid(char const* /*key*/, mpl::false_){ // generates the statically-initialized objects whose constructors // register the information allowing serialization of T objects // through pointers to their base classes. instantiate_ptr_serialization((T*)0, 0, adl_tag()); return *this; } - const guid_initializer & export_guid(char const* key, mpl::true_){ + const guid_initializer & export_guid(char const* /*key*/, mpl::true_){ return *this; } const guid_initializer & export_guid(char const* key){ Index: extended_type_info.hpp =================================================================== --- extended_type_info.hpp (revision 43991) +++ extended_type_info.hpp (working copy) @@ -42,12 +42,12 @@ // included in implementation of sets and maps. const unsigned int m_type_info_key; virtual bool - is_less_than(const extended_type_info &rhs) const { + is_less_than(const extended_type_info &/*rhs*/) const { assert(false); return false; }; virtual bool - is_equal(const extended_type_info &rhs) const { + is_equal(const extended_type_info &/*rhs*/) const { assert(false); return false; }; @@ -75,11 +75,11 @@ } static const extended_type_info * find(const char *key); // for plugins - virtual void * construct(unsigned int count = 0, ...) const { + virtual void * construct(unsigned int /*count*/ = 0, ...) const { assert(false); // must be implemented if used return NULL; }; - virtual void destroy(void const * const p) const { + virtual void destroy(void const * const /*p*/) const { assert(false); // must be implemented if used } }; Index: valarray.hpp =================================================================== --- valarray.hpp (revision 43991) +++ valarray.hpp (working copy) @@ -37,7 +37,7 @@ // valarray template -void save( Archive & ar, const STD::valarray &t, const unsigned int file_version ) +void save( Archive & ar, const STD::valarray &t, const unsigned int /*file_version*/ ) { const collection_size_type count(t.size()); ar << BOOST_SERIALIZATION_NVP(count); @@ -47,7 +47,7 @@ template -void load( Archive & ar, STD::valarray &t, const unsigned int file_version ) +void load( Archive & ar, STD::valarray &t, const unsigned int /*file_version*/ ) { collection_size_type count; ar >> BOOST_SERIALIZATION_NVP(count); Index: variant.hpp =================================================================== --- variant.hpp (revision 43991) +++ variant.hpp (working copy) @@ -63,7 +63,7 @@ void save( Archive & ar, boost::variant const & v, - unsigned int version + unsigned int /*version*/ ){ int which = v.which(); ar << BOOST_SERIALIZATION_NVP(which); @@ -78,10 +78,10 @@ struct load_null { template static void invoke( - Archive & ar, - int which, - V & v, - unsigned int version + Archive & /*ar*/, + int /*which*/, + V & /*v*/, + unsigned int /*version*/ ){} };