Fwd: Re: [Interest] Fwd: Qt 5.4 build error on OS X 10.7
René J.V. Bertin
rjvbertin at gmail.com
Wed Feb 11 13:47:28 PST 2015
I'll be uploading a modified portdir to the usual trac ticket.
R.
---------- Forwarded Message ----------
Subject: Re: [Interest] Fwd: Qt 5.4 build error on OS X 10.7
Date: Wednesday February 11 2015, 13:14:46
From: Thiago Macieira
To: interest at qt-project.org
On Wednesday 11 February 2015 18:15:51 René J.V. Bertin wrote:
> On Wednesday February 11 2015 08:42:07 Thiago Macieira wrote:
> > On Wednesday 11 February 2015 17:15:37 René J.V. Bertin wrote:
> > > $D/qt-everywhere-opensource-src-5.4.0/qtbase/include/QtCore/../../src/co
> > > reli b/kernel/qmetatype.h:1943:1: error: copying variable of type
> > > 'QBasicAtomicInt' (aka 'QBasicAtomicInteger<int>') invokes deleted
> > > constructor Q_DECLARE_METATYPE_TEMPLATE_2ARG(QPair)
> > > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > This is fixed already.
> >
> > It was a missing digit in qcompilerdetection.h.
>
> Good to know, could you point me to the fix, please?
d47b9ace50d47a4472dc9fb029bbf6e8dd810c01
Fix the Apple build version numbers for Clang
A bunch of zeroes were missing. And not to the left.
Task-number: QTBUG-43279
Change-Id: I1a710cf572099547b2ade7b2574a7e0a61649758
> And how come it didn't affect my build of the same code (5.4.0 tarball)?
> Exactly because I used a later compiler version?
Exactly. The problem is the detection of the matching Clang compiler version
for a given Apple-specific build of its Clang. Since we forgot a digit, it
matched the wrong version and enabled code that triggered a bug in the Clang
from XCode 4.2.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-----------------------------------------
More information about the macports-dev
mailing list