Skip to content

Instantly share code, notes, and snippets.

@pastak
Created April 21, 2016 03:53
Show Gist options
  • Save pastak/d7697f8dfbb53f3e04e6c9310a3e9c0d to your computer and use it in GitHub Desktop.
Save pastak/d7697f8dfbb53f3e04e6c9310a3e9c0d to your computer and use it in GitHub Desktop.
% make
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -std=c++14 -O2 -std=gnu++11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtOpenGL.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtMultimedia.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtNetwork.framework/Headers -I/usr/local/Cellar/qt5/5.6.0/lib/QtCore.framework/Headers -I. -I. -I/usr/local/Cellar/qt5/5.6.0/mkspecs/macx-clang -F/usr/local/Cellar/qt5/5.6.0/lib -o mainwindow.o mainwindow.cpp
In file included from mainwindow.cpp:2:
In file included from ./ui_mainwindow.h:30:
In file included from ./pieteditor.h:10:
./pietcore.h:84:71: warning: unused parameter 'qs' [-Wunused-parameter]
PietCore (std::function<void(QString)>outPutFunction = [](QString qs){}, s...
^
./pietcore.h:84:203: warning: unused parameter 'b' [-Wunused-parameter]
...QChar(72);}, std::function<int(bool&)> inPutNumFunction = [](bool&b){retur...
^
mainwindow.cpp:49:36: error: 'this' cannot be explicitly captured when the capture
default is '='
auto TreeWidgetSelectItem = [=,this](QTreeWidgetItem* item,int n){
~^~~~
mainwindow.cpp:49:68: warning: unused parameter 'n' [-Wunused-parameter]
auto TreeWidgetSelectItem = [=,this](QTreeWidgetItem* item,int n){
^
3 warnings and 1 error generated.
make: *** [mainwindow.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment