[Development] qdbusintegrator.cpp compilation error
Geoffrey Gowey
gjgowey at gjgowey.com
Sun Oct 21 22:18:18 CEST 2012
Hello All,
I'm still running in to trouble compiling Qt. Here's the latest error that
I'm getting:
/opt/solarisstudio12.3/bin/CC -c -m64 -native -xjobs=8 -xopenmp
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -O -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_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_XML_LIB
-DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I../../mkspecs/solaris-cc-64 -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 226: Warning: connection hides
QDBusConnectionPrivate::connection.
"../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h", line 243:
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 75: Where: While instantiating
"QBasicAtomicPointer<const QString>::testAndSetOrdered(const QString*,
const QString*)".
"qdbusintegrator.cpp", line 75: Where: Instantiated from non-template
code.
"../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h", line 243:
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 75: Where: While instantiating
"QBasicAtomicPointer<const QString>::testAndSetOrdered(const QString*,
const QString*)".
"qdbusintegrator.cpp", line 75: Where: Instantiated from non-template
code.
"qdbusintegrator.cpp", line 1224: Warning: name hides
QDBusConnectionPrivate::name.
"qdbusintegrator.cpp", line 2060: Warning: name hides
QDBusConnectionPrivate::name.
"qdbusintegrator.cpp", line 2134: 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 `/home/gjgowey/qt/src/dbus'
*** Error code 2
dmake: Fatal error: Command failed for target
`sub-dbus-make_default-ordered'
MAKE FAILED (exit value 1, total time: 6m 18s)
Platform: Solaris 11 (-platform solaris-cc-64)
Dev Environment: Oracle Solaris Studio 12.3
--
Kindest Regards,
Geoff
----
To see what my availability is today or to schedule a meeting please use my
Tungle page: http://tungle.me/gjgowey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121021/51d64b14/attachment.html>
More information about the Development
mailing list