[Interest] -std=gnu++11 compile error

Mike Santerre mike.santerre at gmail.com
Tue Jun 28 18:11:51 CEST 2016


I'm trying to compile a Qt 5.7 app on CentOS 6.8 and getting the following
error.

cc1plus: error: unrecognized command line option "-std=gnu++11"

gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)

Is this gcc version too old to support gnu++11?

If that's the case, are there options for compiling without updating gcc?
Is it possible to tell Qt Creator to not use that command line option?

Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160628/2f2fa8de/attachment.html>


More information about the Interest mailing list