[Interest] iOS release build uncount issues - implicit conversion loses integer precision

ekke ekke at ekkes-corner.org
Tue Jun 20 11:52:13 CEST 2017


if I open the generated Xcode project
and go to 'Build Settings'
search for 'conversion'
and set

* implicite Conversion for 32 Bit Type
**** Release
******** 64 architecture --> false

and do a Product -> Archive then the warnings are gone :)

unfortunately after doing another build in QtCreator, the value was set
back to true

I want to open a Bug Report
is this a QtCreator Bug ?

thx

ekke

Am 19.06.17 um 17:46 schrieb ekke:
> 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 since
>>>> the function returns an int (32 bit value on your arch).
>>> never happened with Xcode 8.2
>> If this warning is new in 8.3, then it'll get quickly fixed in Qt's headers and 
>> the next release should have the necessary code to disable or suppress it.
>>
> yes never happened before for me
>
> (OSX 10.11.6, Qt 5.8 with Xcode 8.2 on iOS devices running 10.2.1,
>
> now macOS 10.12.5, Qt 5.9 with Xcode 8.3.3, iOS devices running 10.3.2)
>
>
> Installed fresh Qt 5.9 together with Creator 4.3, moved my projects,
> selected Kits
>
> Debug build runs fine
>
> Release build gives me nearly 3k issues
>
> will open a bugreport. Is this a QtCreator bug or a Qt bug ?
>
> thx
>
> ekke
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list