Created
April 17, 2013 07:03
-
-
Save liangqi/5402323 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -g -gdwarf-2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -Wall -W -fPIE -DQT_GUI_LIB -DQT_CORE_LIB -I../../qt/qt5-2/qtbase/mkspecs/macx-clang -I. -I. -I../../build/qt5-2/qtbase/include -I../../build/qt5-2/qtbase/include/QtGui -I../../build/qt5-2/qtbase/include/QtCore -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -o main.o main.cpp | |
In file included from main.cpp:2: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/QtConcurrent:7: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilter.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilter.h:49: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilterkernel.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilterkernel.h:50: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentmapkernel.h:1: | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:97:23: error: field has incomplete type 'void' | |
ReducedResultType reducedResult; | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentreducekernel.h:223:33: note: in instantiation of template | |
class 'QtConcurrent::MappedReducedKernel<void, QJsonArray::const_iterator, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, QtPrivate::PushBackWrapper, | |
QtConcurrent::ReduceKernel<QtPrivate::PushBackWrapper, void, QJsonValue> >' requested here | |
struct SequenceHolder2 : public Base | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:249:34: note: in instantiation of template class | |
'QtConcurrent::SequenceHolder2<QJsonArray, QtConcurrent::MappedReducedKernel<void, QJsonArray::const_iterator, QtConcurrent::FunctionWrapper1<QJsonValue, | |
QJsonValue>, QtPrivate::PushBackWrapper, QtConcurrent::ReduceKernel<QtPrivate::PushBackWrapper, void, QJsonValue> >, QtConcurrent::FunctionWrapper1<QJsonValue, | |
QJsonValue>, QtPrivate::PushBackWrapper>' requested here | |
return startThreadEngine(new SequenceHolderType(sequence, mapFunctor, reduceFunctor, options)); | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmap.h:212:12: note: in instantiation of function template | |
specialization 'QtConcurrent::startMappedReduced<QJsonValue, void, QJsonArray, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, | |
QtPrivate::PushBackWrapper>' requested here | |
return QtConcurrent::startMappedReduced<typename QtPrivate::MapResultType<void, MapFunctor>::ResultType, ResultType> | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmap.h:280:12: note: in instantiation of function template | |
specialization 'QtConcurrent::blockingMappedReduced<void, QJsonArray, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, QtPrivate::PushBackWrapper>' | |
requested here | |
return blockingMappedReduced<OutputSequence> | |
^ | |
main.cpp:24:5: note: in instantiation of function template specialization 'QtConcurrent::blockingMapped<QJsonValue (*)(QJsonValue), QJsonArray>' requested here | |
QtConcurrent::blockingMapped(array, jsonscaled); | |
^ | |
In file included from main.cpp:2: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/QtConcurrent:7: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilter.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilter.h:49: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilterkernel.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilterkernel.h:50: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentmapkernel.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:50: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentreducekernel.h:1: | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentreducekernel.h:121:40: error: cannot form a reference to | |
'void' | |
ReduceResultType &r, | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:100:13: note: in instantiation of template class | |
'QtConcurrent::ReduceKernel<QtPrivate::PushBackWrapper, void, QJsonValue>' requested here | |
Reducer reducer; | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentreducekernel.h:223:33: note: in instantiation of template | |
class 'QtConcurrent::MappedReducedKernel<void, QJsonArray::const_iterator, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, QtPrivate::PushBackWrapper, | |
QtConcurrent::ReduceKernel<QtPrivate::PushBackWrapper, void, QJsonValue> >' requested here | |
struct SequenceHolder2 : public Base | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:249:34: note: in instantiation of template class | |
'QtConcurrent::SequenceHolder2<QJsonArray, QtConcurrent::MappedReducedKernel<void, QJsonArray::const_iterator, QtConcurrent::FunctionWrapper1<QJsonValue, | |
QJsonValue>, QtPrivate::PushBackWrapper, QtConcurrent::ReduceKernel<QtPrivate::PushBackWrapper, void, QJsonValue> >, QtConcurrent::FunctionWrapper1<QJsonValue, | |
QJsonValue>, QtPrivate::PushBackWrapper>' requested here | |
return startThreadEngine(new SequenceHolderType(sequence, mapFunctor, reduceFunctor, options)); | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmap.h:212:12: note: in instantiation of function template | |
specialization 'QtConcurrent::startMappedReduced<QJsonValue, void, QJsonArray, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, | |
QtPrivate::PushBackWrapper>' requested here | |
return QtConcurrent::startMappedReduced<typename QtPrivate::MapResultType<void, MapFunctor>::ResultType, ResultType> | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmap.h:280:12: note: in instantiation of function template | |
specialization 'QtConcurrent::blockingMappedReduced<void, QJsonArray, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, QtPrivate::PushBackWrapper>' | |
requested here | |
return blockingMappedReduced<OutputSequence> | |
^ | |
main.cpp:24:5: note: in instantiation of function template specialization 'QtConcurrent::blockingMapped<QJsonValue (*)(QJsonValue), QJsonArray>' requested here | |
QtConcurrent::blockingMapped(array, jsonscaled); | |
^ | |
In file included from main.cpp:2: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/QtConcurrent:7: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilter.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilter.h:49: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilterkernel.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilterkernel.h:50: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentmapkernel.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:50: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentreducekernel.h:1: | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentreducekernel.h:130:41: error: cannot form a reference to | |
'void' | |
ReduceResultType &r, | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentreducekernel.h:147:37: error: cannot form a reference to | |
'void' | |
ReduceResultType &r, | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentreducekernel.h:206:57: error: cannot form a reference to | |
'void' | |
void finish(ReduceFunctor &reduce, ReduceResultType &r) | |
^ | |
In file included from main.cpp:2: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/QtConcurrent:7: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilter.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilter.h:49: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentfilterkernel.h:1: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentfilterkernel.h:50: | |
In file included from ../../build/qt5-2/qtbase/include/QtConcurrent/qtconcurrentmapkernel.h:1: | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:107:43: error: argument may not have 'void' type | |
MappedReducedKernel(ReducedResultType initialValue, | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentreducekernel.h:223:33: note: in instantiation of template | |
class 'QtConcurrent::MappedReducedKernel<void, QJsonArray::const_iterator, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, QtPrivate::PushBackWrapper, | |
QtConcurrent::ReduceKernel<QtPrivate::PushBackWrapper, void, QJsonValue> >' requested here | |
struct SequenceHolder2 : public Base | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmapkernel.h:249:34: note: in instantiation of template class | |
'QtConcurrent::SequenceHolder2<QJsonArray, QtConcurrent::MappedReducedKernel<void, QJsonArray::const_iterator, QtConcurrent::FunctionWrapper1<QJsonValue, | |
QJsonValue>, QtPrivate::PushBackWrapper, QtConcurrent::ReduceKernel<QtPrivate::PushBackWrapper, void, QJsonValue> >, QtConcurrent::FunctionWrapper1<QJsonValue, | |
QJsonValue>, QtPrivate::PushBackWrapper>' requested here | |
return startThreadEngine(new SequenceHolderType(sequence, mapFunctor, reduceFunctor, options)); | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmap.h:212:12: note: in instantiation of function template | |
specialization 'QtConcurrent::startMappedReduced<QJsonValue, void, QJsonArray, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, | |
QtPrivate::PushBackWrapper>' requested here | |
return QtConcurrent::startMappedReduced<typename QtPrivate::MapResultType<void, MapFunctor>::ResultType, ResultType> | |
^ | |
../../build/qt5-2/qtbase/include/QtConcurrent/../../../../../qt/qt5-2/qtbase/src/concurrent/qtconcurrentmap.h:280:12: note: in instantiation of function template | |
specialization 'QtConcurrent::blockingMappedReduced<void, QJsonArray, QtConcurrent::FunctionWrapper1<QJsonValue, QJsonValue>, QtPrivate::PushBackWrapper>' | |
requested here | |
return blockingMappedReduced<OutputSequence> | |
^ | |
main.cpp:24:5: note: in instantiation of function template specialization 'QtConcurrent::blockingMapped<QJsonValue (*)(QJsonValue), QJsonArray>' requested here | |
QtConcurrent::blockingMapped(array, jsonscaled); | |
^ | |
6 errors generated. | |
make: *** [main.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment