Date: Fri, 13 Jul 2012 20:23:24 -1100 From: Jan Beich <jbeich@tormail.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169871: [patch] devel/qt4-corelib, devel/dbus-qt4, x11/qt4-opengl: unbreak with libc++ Message-ID: <1Spx1w-000HqO-8q@internal.tormail.org> Resent-Message-ID: <201207150350.q6F3oBeT016772@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169871 >Category: ports >Synopsis: [patch] devel/qt4-corelib, devel/dbus-qt4, x11/qt4-opengl: unbreak with libc++ >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 15 03:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: WITH_LIBCPLUSPLUS= # see src.conf(5) CXX = clang++ CXXFLAGS += -stdlib=libc++ LDFLAGS += -stdlib=libc++ >Description: No clue why some ports don't use qiterator.h from LOCALBASE. In file included from concurrent/qtconcurrentiteratekernel.cpp:42: concurrent/qtconcurrentiteratekernel.h:154:60: error: variable has incomplete type 'std::bidirectional_iterator_tag' inline bool selectIteration(std::bidirectional_iterator_tag) ^ ../../include/QtCore/../../src/corelib/tools/qiterator.h:50:12: note: forward declaration of 'std::bidirectional_iterator_tag' struct bidirectional_iterator_tag; ^ In file included from concurrent/qtconcurrentiteratekernel.cpp:42: concurrent/qtconcurrentiteratekernel.h:164:60: error: variable has incomplete type 'std::random_access_iterator_tag' inline bool selectIteration(std::random_access_iterator_tag) ^ ../../include/QtCore/../../src/corelib/tools/qiterator.h:51:12: note: forward declaration of 'std::random_access_iterator_tag' struct random_access_iterator_tag; ^ 2 errors generated. >How-To-Repeat: >Fix: --- libcplusplus.diff begins here --- --- src/corelib/tools/qiterator.h~ +++ src/corelib/tools/qiterator.h @@ -46,10 +46,12 @@ QT_BEGIN_HEADER +#ifdef QT_NO_STL namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; } +#endif QT_BEGIN_NAMESPACE --- libcplusplus.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Spx1w-000HqO-8q>