[Bug 261488] New: kdegames: kgamerenderer.h has wrong number of template arguments (1, should be 2)

snc at macports.org snc at macports.org
Tue Dec 28 20:26:44 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=261488

           Summary: kdegames: kgamerenderer.h has wrong number of template
                    arguments (1, should be 2)
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: snc at macports.org


Version:           unspecified (using KDE 4.5.90) 
OS:                OS X

In file included from
/opt/local/var/macports/build/_Users_aeetes_kde_kdegames4/work/kdegames-4.5.90/libkdegames/kgamerenderedobjectitem.cpp:20:
/opt/local/var/macports/build/_Users_aeetes_kde_kdegames4/work/kdegames-4.5.90/libkdegames/kgamerenderer.h:211:
error: expected ',' or '...' before '>' token
/opt/local/var/macports/build/_Users_aeetes_kde_kdegames4/work/kdegames-4.5.90/libkdegames/kgamerenderer.h:211:
error: wrong number of template arguments (1, should be 2)
/opt/local/include/QtCore/qdatastream.h:66: error: provided for 'template<class
Key, class T> class QHash'
/opt/local/var/macports/build/_Users_aeetes_kde_kdegames4/work/kdegames-4.5.90/libkdegames/kgamerenderer.h:211:
error: default argument missing for parameter 5 of 'QPixmap
KGameRenderer::spritePixmap(const QString&, const QSize&, int, const
QHash<QColor, QColor>&, QColor) const'


The relevant line:

        QPixmap spritePixmap(const QString& key, const QSize& size, int frame =
-1, const QHash<QColor, QColor>& customColors = QHash<QColor, QColor>()) const;


Reproducible: Always

Steps to Reproduce:
Build in MacPorts

Actual Results:  
Build fails

Expected Results:  
Build succeeds

QT is qt4-mac @4.7.1

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list