Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22106

build fails - template error in tst_qdbusmarshall.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4
    • D-Bus
    • None
    • Solaris 11 Express
      amd64
      Sun Studio 12.1 or Solaris Studio 12.3 Beta

    Description

      Building the autotests in Qt 4.7.4 fails with the below error.

      I'm not as proficient in C++ to come up with a patch or workaround, but a similar error message has been handled e.g. at https://bugs.kde.org/show_bug.cgi?id=254808

      test@solaris:~/packages/BUILD/qt-4.7.4/i386/qt-everywhere-opensource-src-4.7.4/tests/auto/qdbusmarshall/test$ /opt/sunstudio12.1/bin/CC -c -I../../../../mkspecs/solaris-cc -I. -I../../../../include/QtCore -I../../../../include/QtDBus -I../../../../include -I../../../../include/QtTest -I.moc/debug-shared -I/usr/sfw/include -D_REENTRANT -DNDEBUG -D_EXTENSIONS_ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -I/opt/kde4/include -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -library=no%Cstd -library=Crun -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -s -xdebugformat=dwarf -xlang=c99 -xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt -R/opt/kde4/lib -library=no%Cstd -library=Crun -lstdcxx4 -I/usr/include/libpng14 -I/opt/kde4/include -I/usr/mysql/5.1/include/mysql -I/usr/include/libmng -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/odbc -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -mt -DQT_DBUS_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -o .obj/debug-shared/tst_qdbusmarshall.o ../tst_qdbusmarshall.cpp
      "../tst_qdbusmarshall.cpp", line 967: Error: Template parameter unref requires an expression of type void(DBusMessage*).
      "../tst_qdbusmarshall.cpp", line 968: Error: Template parameter unref requires an expression of type void(DBusPendingCall*).
      2 Error(s) detected.
      test@solaris:~/packages/BUILD/qt-4.7.4/i386/qt-everywhere-opensource-src-4.7.4/tests/auto/qdbusmarshall/test$

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            hajma Pavel Heimlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes