--- boost/system/error_code.hpp.orig 2008-09-22 12:54:14.000000000 +0200 +++ boost/system/error_code.hpp 2008-09-22 13:08:39.000000000 +0200 @@ -183,8 +183,8 @@ { public: virtual ~error_category(){} - virtual inline const char * name() const; // see implementation note below - virtual inline std::string message( int ev ) const; // see implementation note below + virtual const char * name() const; // see implementation note below + virtual std::string message( int ev ) const; // see implementation note below virtual inline error_condition default_error_condition( int ev ) const; virtual inline bool equivalent( int code, const error_condition & condition ) const; virtual inline bool equivalent( const error_code & code, int condition ) const; @@ -470,19 +470,6 @@ return *this == code.category() && code.value() == condition; } - // error_category implementation note: VC++ 8.0 objects to name() and - // message() being pure virtual functions. Thus these implementations. - inline const char * error_category::name() const - { - return "error: should never be called"; - } - - inline std::string error_category::message( int ) const - { - static std::string s("error: should never be called"); - return s; - } - } // namespace system } // namespace boost