Index: serialization.cpp =================================================================== --- serialization.cpp (revision 43991) +++ serialization.cpp (working copy) @@ -48,7 +48,7 @@ template< class Archive > - void serialize( Archive& ar, const unsigned int version ) + void serialize( Archive& ar, const unsigned int /*version*/ ) { ar & boost::serialization::make_nvp( "i", i ); } @@ -73,7 +73,7 @@ int i2; template< class Archive > - void serialize( Archive& ar, const unsigned int version ) + void serialize( Archive& ar, const unsigned int /*version*/ ) { ar & boost::serialization::make_nvp( "Base", boost::serialization::base_object( *this ) ); @@ -95,7 +95,7 @@ // template< class C, class T > -void add( C& c, T* r, unsigned n ) +void add( C& c, T* r, unsigned /*n*/ ) { c.insert( c.end(), r ); } Index: test_data.hpp =================================================================== --- test_data.hpp (revision 43991) +++ test_data.hpp (working copy) @@ -67,7 +67,7 @@ Base* clone() const { return do_clone(); } void foo() { do_foo(); } - virtual bool less_than( const Base& b ) const + virtual bool less_than( const Base& /*b*/ ) const { return true; } @@ -92,7 +92,7 @@ #endif private: - virtual void do_print( ostream& out ) const { }; + virtual void do_print( ostream& /*out*/ ) const { }; virtual Base* do_clone() const { return new Base( *this ); }; virtual void do_foo() { }; }; @@ -240,7 +240,7 @@ // used to hide "unused variable" warnings // template< class T > -inline void hide_warning( T& r ) +inline void hide_warning( T& /*r*/ ) { } //