> I don't have the Qt sdk at hand, but the following test code works for > me (with gcc 4.3.2): > > ======== > class QFile { > public: > virtual void close(); > }; > > class QTemporaryFile : public QFile { > }; > > class dbFile { > public: > virtual int close() = 0; > static int ok; > }; > > class dbFileWrapper : public dbFile > { > private: > virtual void doClose() = 0; > int close() > { > doClose(); > return dbFile::ok; > } > }; > > class TemporaryDbFile : public QTemporaryFile, public dbFileWrapper > { > private: > void doClose() > { > QTemporaryFile::close(); > } > }; > ======== > > Dario > > YEEEEESSSS =):clap::jumping::handshake: You are a champ', Dario. It works with gcc 4.4.0 too. Thank you I guess, I can mark my thread, solved. How to do that ? -- View this message in context: http://old.nabble.com/-C%2B%2B-%3A-Multiple-inheritage-Conflicts-tp30152349p30163316.html Sent from the gcc - Help mailing list archive at Nabble.com.