-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make fails - std c++11 not set #244
Comments
Can you check if the tagged 1.1.5 release gives you the same error? In the past I chose to convert all nice C++11 stuff to the older equivalents to make compilation easier on older OSs . . |
Well, I didn't check the 1.1.5 Release, but it worked before the last refactoring. |
It must have been me, I'm used to it. |
Well, I'm not quiet sure, but I think in my default Ubuntu installation of qtcreator, it isn't (3.5.1) |
At least they claim so at version 2.7 release page. I have no idea how to check this. |
Same for me, travis and appveyor . . they all do c++11 |
Also snap-CI fails because of no c++11 being set. @annejan so what's the decision? |
Let's set c++11 as standard and if for-example CentOS 6 has trouble with it I can provide them with a patch to not use c++11 for their builds 💃 Snap-CI mostly fails because of memory issues and me not willing to pay for more memory 😉 |
It shouldn't be that bad. Assuming up-to-date CentOS 6.8, it has gcc 4.4 with following c++0x support. |
I'll have to check if the config c++11 is enough for most systems . . |
When I clone a new repository, run qmake and make, I get the following Errors:
I get the following warnings as well:
and simmilar ones for other classes.
Compile command invoked by make is:
g++ -c -m64 -pipe -DSINGLE_APP=1 -O2 -Wall -W -Wno-unknown-pragmas -D_REENTRANT -fPIC -DVERSION="\"1.1.5\"" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o main.cpp
System is Linux Mint 18
When I add
-std=c++11
, it compiles. But this is not set as default in makeThe text was updated successfully, but these errors were encountered: