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

Solaris: argument mismatch in dbus (+patch)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 4.7.2
    • Fix Version/s: None
    • Component/s: D-Bus
    • Labels:
      None
    • Environment:
      Solaris 11 Express, amd64, Sun Studio 12u1

      Description

      building Qt 4.7.2 fails with the below error:

      $./configure
      ...
      $gmake
      ...
      /opt/sunstudio12.1/bin/CC -c -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -O2 -mt -KPIC -DQT_SHARED -DQT_BUILD_DBUS_LIB -DDBUS_API_SUBJECT_TO_CHANGE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/solaris-cc -I. -I../../include/QtCore -I../../include/QtXml -I../../include -I../../include/QtDBus -I.rcc/release-shared -I.moc/release-shared -I/usr/sfw/include -o .obj/release-shared/qdbusintegrator.o qdbusintegrator.cpp
      "qdbusconnection_p.h", line 217: Warning: connection hides QDBusConnectionPrivate::connection.
      "../../include/QtCore/../../src/corelib/arch/qatomic_i386.h", line 242: Error: Formal argument expected of type void* in call to q_atomic_test_and_set_ptr(volatile void*, void*, void*) is being passed const QString*.
      "qdbusintegrator.cpp", line 74: Where: While instantiating "QBasicAtomicPointer<const QString>::testAndSetOrdered(const QString*, const QString*)".
      "qdbusintegrator.cpp", line 74: Where: Instantiated from non-template code.
      "../../include/QtCore/../../src/corelib/arch/qatomic_i386.h", line 242: Error: Formal argument newval of type void* in call to q_atomic_test_and_set_ptr(volatile void*, void*, void*) is being passed const QString*.
      "qdbusintegrator.cpp", line 74: Where: While instantiating "QBasicAtomicPointer<const QString>::testAndSetOrdered(const QString*, const QString*)".
      "qdbusintegrator.cpp", line 74: Where: Instantiated from non-template code.
      "qdbusintegrator.cpp", line 1221: Warning: name hides QDBusConnectionPrivate::name.
      "qdbusintegrator.cpp", line 2024: Warning: name hides QDBusConnectionPrivate::name.
      "qdbusintegrator.cpp", line 2106: Warning: name hides QDBusConnectionPrivate::name.
      2 Error(s) and 4 Warning(s) detected.
      gmake[1]: *** [.obj/release-shared/qdbusintegrator.o] Error 2
      gmake[1]: Leaving directory `/export/home/test/packages/BUILD/qt-4.7.2/i386/temp/qt-everywhere-opensource-src-4.7.2/src/dbus'
      gmake: *** [sub-dbus-make_default-ordered] Error 2

      This was not happening with Qt 4.7.1

        Attachments

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

          Activity

            People

            Assignee:
            earthdomain Earth Domain (Inactive)
            Reporter:
            hajma Pavel Heimlich
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes