Results of gcc 4.7 and mingw-w64 trunk mass rebuild on Fedora

Kevin Kofler kevin.kofler at chello.at
Fri Jan 20 17:39:02 UTC 2012


Erik van Pienbroek wrote:
> qt-4.8.0:
> 
> In file included
> from
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qbuiltinatomictypes_p.h:55:0,
> from
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qbuiltinatomictypes.cpp:45:
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qatomiccasterlocators_p.h:570:46:
> error: 'virtual QPatternist::AtomicTypeVisitorResult::Ptr
> QPatternist::ToDerivedIntegerCasterLocator<type>::visit(const
> QPatternist::BooleanType*, const QPatternist::SourceLocationReflection*)
> const' cannot be overloaded
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qatomiccasterlocators_p.h:295:46:
> error: with 'virtual QPatternist::AtomicTypeVisitorResult::Ptr
> QPatternist::ToIntegerCasterLocator::visit(const
> QPatternist::BooleanType*, const QPatternist::SourceLocationReflection*)
> const'
> /builddir/build/BUILD/qt-everywhere-opensource-src-4.8.0/src/xmlpatterns/type/qatomiccasterlocators_p.h:577:46:
> error: 'virtual QPatternist::AtomicTypeVisitorResult::Ptr
> QPatternist::ToDerivedIntegerCasterLocator<type>::visit(const
> QPatternist::StringType*, const QPatternist::SourceLocationReflection*)
> const' cannot be overloaded <more errors stripped>
> 
> This seems to be caused a change in behavior in gcc 4.7. Somebody else
> also experienced this compiler error while building a native qt using
> gcc 4.7: http://developer.qt.nokia.com/forums/viewthread/12606
> The native qt package in Fedora also currently fails to build due to
> this issue
> (http://koji.fedoraproject.org/koji/getfile?taskID=3635149&name=build.log&offset=-4000)
> so I guess upstream will come up with a solution soon.

We also hit this with the native qt in Fedora Rawhide.

This is a g++ bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51889

It has been fixed in the latest upstream GCC.

        Kevin Kofler



More information about the mingw mailing list