with a little help from Jake Petroules:
here's HowTo avoid all these warnings.
Add into .pro
iOS {
...
disable_warning.name = GCC_WARN_64_TO_32_BIT_CONVERSION
disable_warning.value = No
QMAKE_MAC_XCODE_SETTINGS += disable_warning
ekke
Am 20.06.17 um 11:52 schrieb ekke:
> if I
Am 19.06.17 um 17:37 schrieb Thiago Macieira:
> On Monday, 19 June 2017 07:28:38 PDT ekke wrote:
>> Am 19.06.17 um 16:09 schrieb Kristoffersen, Even (NO14):
>>> On 64 bit systems that piece of code does pointer1 – pointer2, which
>>> would be a 64 bit value, then implicitly doing a narrowing cast
On Monday, 19 June 2017 07:28:38 PDT ekke wrote:
> Am 19.06.17 um 16:09 schrieb Kristoffersen, Even (NO14):
> > On 64 bit systems that piece of code does pointer1 – pointer2, which
> > would be a 64 bit value, then implicitly doing a narrowing cast since
> > the function returns an int (32 bit
On Monday, 19 June 2017 06:47:29 PDT ekke wrote:
> debug build and run works well
>
> but release build I'm getting thousands of issues like this one:
>
> /daten/_qt_sdks/sdk_590/5.9/ios/include/QtCore/qvector.h:841: warning:
> implicit conversion loses integer precision: 'long' to 'int'
>
.org; qt-crea...@qt-project.org
> *Subject:* [Interest] iOS release build uncount issues - implicit
> conversion loses integer precision
>
>
>
> debug build and run works well
>
> but release build I'm getting thousands of issues like this one:
>
> /daten/_qt_sdks/sdk_5
or compile for a 32 bit target.
-Even
From: Interest
[mailto:interest-bounces+even.kristoffersen=honeywell@qt-project.org] On
Behalf Of ekke
Sent: 19. juni 2017 15:47
To: interest@qt-project.org; qt-crea...@qt-project.org
Subject: [Interest] iOS release build uncount issues - implicit
debug build and run works well
but release build I'm getting thousands of issues like this one:
/daten/_qt_sdks/sdk_590/5.9/ios/include/QtCore/qvector.h:841: warning:
implicit conversion loses integer precision: 'long' to 'int'
[-Wshorten-64-to-32]
return n - d->begin();