[Bug 39346] New: telepathy-qt4-0.7.1 fails to build with clang

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 18 20:00:34 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39346

           Summary: telepathy-qt4-0.7.1 fails to build with clang
           Product: Telepathy
           Version: unspecified
          Platform: x86-64 (AMD64)
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-qt4
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: pawel.worach at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


Building telepathy-qt4 0.7.1 with llvm/clang trunk r135391 on FreeBSD/amd64
results in:

n file included from
/work/a/ports/net-im/telepathy-qt4/work/telepathy-qt4-0.7.1/TelepathyQt4/optional-interface-factory.cpp:23:
In file included from
/work/a/ports/net-im/telepathy-qt4/work/telepathy-qt4-0.7.1/TelepathyQt4/OptionalInterfaceFactory:8:
/work/a/ports/net-im/telepathy-qt4/work/telepathy-qt4-0.7.1/TelepathyQt4/optional-interface-factory.h:100:21:
warning: parentheses were disambiguated as a function declarator
        QString name(QLatin1String(Interface::staticInterfaceName()));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work/a/ports/net-im/telepathy-qt4/work/telepathy-qt4-0.7.1/TelepathyQt4/optional-interface-factory.h:100:47:
error: parameter declarator cannot be qualified
        QString name(QLatin1String(Interface::staticInterfaceName()));
                                   ~~~~~~~~~~~^
/work/a/ports/net-im/telepathy-qt4/work/telepathy-qt4-0.7.1/TelepathyQt4/optional-interface-factory.h:116:21:
warning: parentheses were disambiguated as a function declarator
        QString name(QLatin1String(Interface::staticInterfaceName()));
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work/a/ports/net-im/telepathy-qt4/work/telepathy-qt4-0.7.1/TelepathyQt4/optional-interface-factory.h:116:47:
error: parameter declarator cannot be qualified
        QString name(QLatin1String(Interface::staticInterfaceName()));
                                   ~~~~~~~~~~~^
[ 48%] 2 warnings and 2 errors generated.
*** Error code 1

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



More information about the telepathy-bugs mailing list