Christoph Sch?fer wrote: > Hi all, > > I tried to update 1.3.3.4cvs with some new cvs checkouts under SuSE 10.0 and > 10.1 -- impossible. I always get the following errors: > > query.cpp:20: error: expected ?,? or ?...? before ?%? token > query.cpp:20: error: prototype for ?Query::Query(QWidget*, const char*)? does > not match any in class ?Query? > query.h:22: error: candidates are: Query::Query(const Query&) > query.h:27: error: Query::Query(QWidget*, const char*, bool, > uint, QString, QString) > query.cpp: In constructor ?Query::Query(QWidget*, const char*)?: > query.cpp:21: error: ?modal? was not declared in this scope > query.cpp:21: error: ?fl? was not declared in this scope > query.cpp:23: error: could not convert ?((Query*)this)->QObject::name? to > ?bool? > query.cpp:23: error: in argument to unary !
What does that line query.cpp:20 look like? I see Query::Query( QWidget* parent, const char* name, bool modal, WFlags fl, QString text, QString titel ) What is the compiler command line preceding the error message? Unless the compiler line has some crazy definitions or the file is corrupt, it is hard to imagine how this line could provoke the kind of error messages you are seeing. -- Martin
