On 2 February 2016 at 07:50, Sandro Mani wrote: > On 02.02.2016 13:38, Jakub Jelinek wrote: >> On Tue, Feb 02, 2016 at 01:32:17PM +0100, Sandro Mani wrote: >> Don't use -isystem /usr/include for C++, unless you also include first all >> the C++ include directories as -isystem too. Why do you need that? >> -isystem /usr/include is the default, but in proper place, not prepended >> before system headers. > > QMake is generating such Makefiles. Looks like the combination of > > /usr/lib64/qt5/mkspecs/common/gcc-base.conf: QMAKE_CFLAGS_ISYSTEM = > -isystem > > and > > /usr/lib64/qt5/mkspecs/common/qconfig.pri: QMAKE_DEFAULT_INCDIRS = > /usr/include/c++/5.3.1 /usr/include/c++/5.3.1/x86_64-redhat-linux > /usr/include/c++/5.3.1/backward > /usr/lib/gcc/x86_64-redhat-linux/5.3.1/include /usr/local/include > /usr/include > > From which it seems that the actual cause of the issue is that qt5-qtbase is > not yet rebuilt against GCC6 and hence the C++ includes are missing. The current (as of this email) qt5-qtbase is built with GCC6, but the issue persists. The builds seem fine with the above QMAKE_DEFAULT_INCDIRS line removed manually. Should this issue be fixed in the qt5-qtbase package? Thanks, Orcan -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx