Skip to content

Instantly share code, notes, and snippets.

@colindean
Created July 29, 2012 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colindean/3201614 to your computer and use it in GitHub Desktop.
Save colindean/3201614 to your computer and use it in GitHub Desktop.
D-LAN compilation attempt on 10.8 with stdlib=libc++ removed
16:12:21: Running build steps for project Core...
16:12:21: Configuration unchanged, skipping qmake step.
16:12:21: Starting: "/usr/bin/make" -f Makefile-Core -w
make: Entering directory `/Users/colin/Source/D-LAN/application'
cd Common/ && /usr/bin/make -f Makefile-Core
make[1]: Entering directory `/Users/colin/Source/D-LAN/application/Common'
/Users/colin/Source/QtSDK/Desktop/Qt/4.8.1/gcc/bin/qmake -spec ../../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/unsupported/macx-clang CONFIG+=declarative_debug -o Makefile-Core Common.pro
make[1]: Leaving directory `/Users/colin/Source/D-LAN/application/Common'
make[1]: Entering directory `/Users/colin/Source/D-LAN/application/Common'
clang++ -c -pipe -std=c++11 -std=c++0x -g -gdwarf-2 -arch x86_64 -fPIC -Wall -Wno-parentheses -DDEBUG -DCOMMON_LIBRARY -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/unsupported/macx-clang -I. -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtNetwork.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtNetwork -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include -I. -I.. -I. -I.. -I.tmp/debug -F/Users/colin/Source/QtSDK/Desktop/Qt/4.8.1/gcc/lib -o .tmp/debug/Hash.o Hash.cpp
In file included from Hash.cpp:19:
In file included from ../Common/Hash.h:28:
In file included from ../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers/QString:1:
In file included from ../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers/qstring.h:45:
In file included from ../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qchar.h:45:
../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qglobal.h:328:6: warning: "This version of Mac OS X is unsupported" [-W#warnings]
# warning "This version of Mac OS X is unsupported"
^
1 warning generated.
clang++ -c -pipe -std=c++11 -std=c++0x -g -gdwarf-2 -arch x86_64 -fPIC -Wall -Wno-parentheses -DDEBUG -DCOMMON_LIBRARY -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/unsupported/macx-clang -I. -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtNetwork.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtNetwork -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include -I. -I.. -I. -I.. -I.tmp/debug -F/Users/colin/Source/QtSDK/Desktop/Qt/4.8.1/gcc/lib -o .tmp/debug/Global.o Global.cpp
In file included from Global.cpp:19:
In file included from ../Common/Global.h:24:
In file included from ../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers/QDateTime:1:
In file included from ../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers/qdatetime.h:45:
In file included from ../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qstring.h:45:
In file included from ../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qchar.h:45:
../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qglobal.h:328:6: warning: "This version of Mac OS X is unsupported" [-W#warnings]
# warning "This version of Mac OS X is unsupported"
^
In file included from Global.cpp:19:
../Common/Global.h:92:68: error: no type named 'function' in namespace 'std'
static QString getQObjectHierarchy(const QObject* root, std::function<QString(const QObject*)> fun);
~~~~~^
../Common/Global.h:92:76: error: expected ')'
static QString getQObjectHierarchy(const QObject* root, std::function<QString(const QObject*)> fun);
^
../Common/Global.h:92:41: note: to match this '('
static QString getQObjectHierarchy(const QObject* root, std::function<QString(const QObject*)> fun);
^
Global.cpp:589:11: error: no matching function for call to 'getQObjectHierarchy'
return getQObjectHierarchy(root, [](const QObject* obj) {
^~~~~~~~~~~~~~~~~~~
../Common/Global.h:92:22: note: candidate function not viable: no known conversion from 'Common::Global::<lambda at Global.cpp:589:37>' to 'int' for 2nd argument;
static QString getQObjectHierarchy(const QObject* root, std::function<QString(const QObject*)> fun);
^
Global.cpp:587:17: note: candidate function not viable: requires 1 argument, but 2 were provided
QString Global::getQObjectHierarchy(const QObject* root)
^
Global.cpp:597:63: error: no type named 'function' in namespace 'std'
QString Global::getQObjectHierarchy(const QObject* root, std::function<QString(const QObject*)> fun)
~~~~~^
Global.cpp:597:71: error: expected ')'
QString Global::getQObjectHierarchy(const QObject* root, std::function<QString(const QObject*)> fun)
^
Global.cpp:597:36: note: to match this '('
QString Global::getQObjectHierarchy(const QObject* root, std::function<QString(const QObject*)> fun)
^
Global.cpp:607:16: error: no matching constructor for initialization of 'QList<Common::Global::Node>'
QList<Node> nodesToProcess { Node { 0, root } };
^ ~~~~~~~~~~~~~~~~~~~~
../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qlist.h:122:12: note: candidate constructor not viable: no known conversion from 'Common::Global::Node' to 'const QList<Common::Global::Node> &' for 1st argument;
inline QList(const QList<T> &l) : d(l.d) { d->ref.ref(); if (!d->sharable) detach_helper(); }
^
../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore/qlist.h:121:12: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
inline QList() : d(&QListData::shared_null) { d->ref.ref(); }
^
Global.cpp:613:21: error: use of undeclared identifier 'fun'
result.append(fun(current.obj)).append('\n');
^
1 warning and 7 errors generated.
make[1]: *** [.tmp/debug/Global.o] Error 1
make[1]: Leaving directory `/Users/colin/Source/D-LAN/application/Common'
make: *** [sub-Common-make_default-ordered] Error 2
make: Leaving directory `/Users/colin/Source/D-LAN/application'
16:12:22: The process "/usr/bin/make" exited with code 2.
Error while building project Core (target: Desktop)
When executing build step 'Make'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment