From kde-commits Wed May 09 21:58:58 2007 From: David Faure Date: Wed, 09 May 2007 21:58:58 +0000 To: kde-commits Subject: Re: KDE/kdepim/kode Message-Id: <200705092359.01557.dfaure () klaralvdalens-datakonsult ! se> X-MARC-Message: https://marc.info/?l=kde-commits&m=117874797328729 On Wednesday 09 May 2007, Andre Duffeck wrote: > SVN commit 662891 by duffeck: > > Prepend attributes with a "@" in the schema already > > > M +3 -3 kxforms/formcreator.cpp > M +5 -1 kxml_compiler/schema.cpp > I'm not sure if it's this commit, but kxml_compiler generates broken code here. [100%] Building CXX object kode/kxml_compiler/tests/CMakeFiles/testfeatures.dir/testfeatures.o /d/kde/build/4/kdepim/kode/kxml_compiler/tests/kde-features.h:38: error: ISO C++ forbids declaration of ‘QString’ with no type /d/kde/build/4/kdepim/kode/kxml_compiler/tests/kde-features.h:38: error: declaration of ‘int Responsible::QString() const’ class Responsible { public: typedef QList List; public: void set( const QString &v ); QString () const; void set( const QString &v ); QString () const; QString writeElement(); private: QString mUndefined; QString mUndefined; }; instead of class Responsible { public: typedef QList List; public: void setName( const QString &v ); QString name() const; void setEmail( const QString &v ); QString email() const; QString writeElement(); private: QString mName; QString mEmail; }; -- David Faure, faure@kde.org, dfaure@klaralvdalens-datakonsult.se KDE/KOffice developer, Qt consultancy projects Klarälvdalens Datakonsult AB, Platform-independent software solutions