[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdepim/kode
From:       David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date:       2007-05-09 21:58:58
Message-ID: 200705092359.01557.dfaure () klaralvdalens-datakonsult ! se
[Download RAW message or body]

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<Responsible> 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<Responsible> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic