On Tue, Feb 02, 2016 at 01:50:58PM +0100, 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:
> >>Hi
> >>
> >>qt-creator builds have started to fail, I've reduced the failure down to
> >>having "-isystem /usr/include" in the command line:
> >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.

Then a rebuild of whatever package contains that could help.

That said, why does it bother to do such a mess?  Does it think the g++
driver is not able to do that itself?

        Jakub
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to