Please help with GCC4.7 transition. The package: https://build.opensuse.org/package/live_build_log?arch=i586&package=kde3-directkonnect&project=KDE%3AKDE3&repository=openSUSE_Factory The error: In file included from exception.h:14:0, from thread.h:19, from thread.cpp:11: argstring.h:39:13: error: expected ';' at end of member declaration argstring.h:39:22: error: 'ArgString& ArgString::arg' conflicts with a previous declaration argstring.h:38:13: note: previous declaration 'ArgString::arg' argstring.h:39:22: warning: ISO C++ forbids declaration of 'off_t' with no type [-fpermissive] The code: class ArgString { public: ArgString(const std::string& s = ""); ArgString(const ArgString& as); ArgString& operator=(const ArgString& as); virtual ~ArgString() {} ArgString& arg(const std::string&); ArgString& arg(const char*); ArgString& arg(bool); ArgString& arg(char); ArgString& arg(unsigned char); ArgString& arg(int, int = 10); ArgString& arg(unsigned int, int = 10); ArgString& arg(uint64_t, bool = true); ArgString& arg(off_t); ArgString& arg(double, int = 3); std::string str() const; virtual void flush() {} private: class ArgStringImpl : public ReferenceCounted { public: ArgStringImpl(const std::string&); void arg(const std::string&); std::string str() const; private: int where; typedef std::pair<std::string, int> node_t; typedef std::list<node_t> str_list_t; typedef str_list_t::iterator str_list_i_t; typedef str_list_t::const_iterator str_list_ci_t; str_list_t list; }; Pointer<ArgStringImpl> impl; }; -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org