diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-07-09 16:58:05 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-10-18 04:47:00 +0000 |
commit | 27361eadf178e6544277118973a00151daebfc8a (patch) | |
tree | f9d39bdbab5a089f95f7558cdd571400638327fb /tools/configure | |
parent | b58fc66ed76ddddb01427e6172105f0eaa9561ff (diff) |
Add a deprecation warning to configure about -no-c++11
We'll remove it in Qt 5.7, so people ought to be notified now.
Change-Id: Ib056b47dde3341ef9a52ffff13ef6caa91757a9f
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'tools/configure')
-rw-r--r-- | tools/configure/configureapp.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index 62af1970fe..1fdc4bb657 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -4009,6 +4009,14 @@ void Configure::displayConfig() << "will be the same unless you are cross-compiling)." << endl << endl; } + if (dictionary["C++STD"] == "c++98") { + sout << endl + << "NOTE: The -no-c++11 / -c++-level c++98 option is deprecated." << endl + << endl + << "Qt 5.7 will require C++11 support. The options are in effect for this" << endl + << "Qt 5.6 build, but you should update your build scripts to remove the" << endl + << "option and, if necessary, upgrade your compiler." << endl; + } if (!dictionary["PREFIX_COMPLAINTS"].isEmpty()) { sout << endl << dictionary["PREFIX_COMPLAINTS"] << endl |