From kde-edu-devel Fri Jul 11 09:33:35 2014 From: Aleix Pol Date: Fri, 11 Jul 2014 09:33:35 +0000 To: kde-edu-devel Subject: Re: OSX/CI system: analitza build broken on branch frameworks Message-Id: <2929580.eDyBsX9x8V () kubuntu> X-MARC-Message: https://marc.info/?l=kde-edu-devel&m=140507123223246 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============9178784062721323871==" This is a multi-part message in MIME format. --===============9178784062721323871== Content-Type: multipart/alternative; boundary="nextPart1728480.zVZxq6ai41" Content-Transfer-Encoding: 7Bit This is a multi-part message in MIME format. --nextPart1728480.zVZxq6ai41 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Friday 11 July 2014 07:24:08 Marko K=C3=A4ning wrote: > Hi Aleix, >=20 > On 11 Jul 2014, at 01:44 , Aleix Pol wrote: > > I used qAbs now, this one must work :) >=20 > thanks, yep, that did the job! analitza now builds fine on OSX! >=20 > WHY, for goodness sake didn=E2=80=99t it work with std::abs() ? >=20 > I=E2=80=99d like to understand what prevented this from working fine=E2= =80=A6 >=20 > Greets, > Marko Well, the error said it had many std::abs alternatives and couldn't fig= ure out which=20 one to use. I'd suggest it's a compiler bug... or well, at least differ= ent=20 interpretations of the standard. Aleix --nextPart1728480.zVZxq6ai41 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

On = Friday 11 July 2014 07:24:08 Marko K=C3=A4ning wrote:

>= ; Hi Aleix,

>= ;

>= ; On 11 Jul 2014, at 01:44 , Aleix Pol <aleixpol@kde.org> wrote:<= /p>

>= ; > I used qAbs now, this one must work :)

>= ;

>= ; thanks, yep, that did the job! analitza now builds fine on OSX!

>= ;

>= ; WHY, for goodness sake didn=E2=80=99t it work with std::abs() ?

>= ;

>= ; I=E2=80=99d like to understand what prevented this from working fine=E2= =80=A6

>= ;

>= ; Greets,

>= ; Marko

 

Wel= l, the error said it had many std::abs alternatives and couldn't figure= out which one to use. I'd suggest it's a compiler bug... or well, at l= east different interpretations of the standard.

 

Ale= ix

--nextPart1728480.zVZxq6ai41-- --===============9178784062721323871== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kde-edu mailing list kde-edu@mail.kde.org https://mail.kde.org/mailman/listinfo/kde-edu --===============9178784062721323871==--