[Development] qtdeclarative-5.6.0-beta build failure on rhel6

Thiago Macieira thiago.macieira at intel.com
Tue Jan 19 17:16:00 CET 2016


On Monday 18 January 2016 16:26:05 Olivier Goffart wrote:
> On Montag, 18. Januar 2016 08:31:01 CET Rex Dieter wrote:
> > I'm trying to build(bootstrap) qt-5.6.0-beta stack on rhel6, and have run
> > into a build failure in qtdeclarative,
> 
> <snip>
> 
> > beta/tools/qmlimportscanner/main.cpp:376: error: no matching function for
> > call to 'find_if(QList<QFileInfo>::const_iterator,
> 
> std::find_if is new in C++11
> And it was used in https://codereview.qt-project.org/125853/ in the 5.6
> which still does not require C++11.
> 
> Apparently the CI does not try to build this with non-c++11 enabled
> compilers?

We do build in -no-c++11, but apparently libstdc++ does not disable its C++11 
functionality in C++98 mode.

This should be reverted and rewritten using a simple loop.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list