All,

I'm having some trouble getting the examples/qtconcurrent/map example to 
compile on Solaris 10 with SunStudio12.  The error message I'm getting is:

CC -c -I/code/dev-ms13/sunobjs/include -I/code/dev-ms13/sunobjs/include/mysql 
-g -mt -DQT_EDITION=QT_EDITION_DESKTOP -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/code2/Qt/qt-4.4.0-beta1/mkspecs/solaris-cc 
-I/code2/Qt/qt-4.4.0-beta1/examples/qtconcurrent/map -I../../../include/QtCore 
-I../../../include/QtCore -I../../../include/QtGui -I../../../include/QtGui 
-I../../../include -I../../../include 
-I/code2/Qt/qt-4.4.0-beta1/examples/qtconcurrent/map -I.moc/debug-shared 
-I.uic/debug-shared -I/usr/sfw/include -I. -o .obj/debug-shared/main.o 
/code2/Qt/qt-4.4.0-beta1/examples/qtconcurrent/map/main.cpp
"../../../include/QtCore/../../../../qt-4.4.0-beta1/src/corelib/concurrent/qtconcurrentmap.h",
 line 692: Error: Overloading ambiguity between 
"QtConcurrent::blockingMappedReduced<QList<QImage>, QImage, const QImage&, 
void, QList<QImage>, const QImage&>(const QList<QImage>&, QImage(*)(const 
QImage&), void(QList<QImage>::*)(const QImage&), 
QFlags<QtConcurrent::ReduceOption>)" and 
"QtConcurrent::blockingMappedReduced<QList<QImage>, QImage(*)(const QImage&), 
void, QList<QImage>, const QImage&>(const QList<QImage>&, QImage(*)(const 
QImage&), void(QList<QImage>::*)(const QImage&), 
QFlags<QtConcurrent::ReduceOption>)".
"/code2/Qt/qt-4.4.0-beta1/examples/qtconcurrent/map/main.cpp", line 50:     
Where: While instantiating "QtConcurrent::blockingMapped<QList<QImage>, QImage, 
QImage, const QImage&>(const QList<QImage>&, QImage(*)(const QImage&))".
"/code2/Qt/qt-4.4.0-beta1/examples/qtconcurrent/map/main.cpp", line 50:     
Where: Instantiated from non-template code.
1 Error(s) detected.

Does anyone have any clue on this?
 
Darin Broady
[EMAIL PROTECTED]

Reply via email to