Since the support of most the new features of the C++11 language standard is quite spread in most of recent C++ compilers (see this comparison for instance), still several of such compilers need command line options to enable C++11 support. While using qmake as your build system, you can add the following line to your qmake project file in order to produce a make file with suitable options for your compiler: "CONFIG += c++11".
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment