Unsolved Just installed QT Creator on Ubuntu 14.04, getting this error: unrecognized command line option ‘-std=gnu++14’
Getting this error on ubuntu 14.04.
error: unrecognized command line option ‘-std=gnu++14’
I have already tried updating my build-essentials. Any advice?
gagiD last edited by
Which version of gcc you have?
Can check with:
@gagiD gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4
gagiD last edited by gagiD
You need at least 4.9 version or don't use C++14 if you can.
There is http://packages.ubuntu.com/trusty/gcc-4.9-base package.
@gagiD updated to 4.9 and everything compiles thanks!