[Development] Qt 4.8 clang and libc++
Stephen Chu
stephen at ju-ju.com
Tue Sep 11 00:03:23 CEST 2012
On 9/10/12 4:21 PM, Sylvain Pointeau wrote:
> and now I have this error:
>
> In file included from kernel/qvariant.cpp:64:
> In file included from
> ../../include/QtCore/5.0.0/QtCore/private/qvariant_p.h:1:
> ../../include/QtCore/5.0.0/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:248:33:
> error:
> base 'SelfTestFinal1' is marked 'final'
> struct Derived : public T, public FallbackMixin {}; // <- ...
> ^
> ../../include/QtCore/5.0.0/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h:252:86:
> note:
> in instantiation of member class
>
> 'QVariantIsNull<<anonymous>::CoreTypesFilter>::HasIsNullMethod<QVariantIsNull<<anonymous>::CoreTypesFilter>::SelfTestFinal1,
> true>::Derived' requested here
> ...No test(TypeCheck<bool (FallbackMixin::*)() const, &C::isNull> *);
What's the version of your clang? I am using MacPorts Clang 3.1 and
never have this error.
In fact, I just rebuilt Qt 5 from latest git and other than
qbasicatomic.h (which should be fixed with clang 3.2) and
qmacstyle_mac.mm (CGFloat size is different in 32-bit), I don't have any
error to deal with. Although I don't build webkit.
This is my configure line if it helps:
./configure -developer-build -opensource -confirm-license -nomake
examples -nomake tests -c++11 -platform macx-clang-libc++-32
More information about the Development
mailing list