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

Thiago Macieira thiago.macieira at intel.com
Mon Jun 19 17:36:36 CEST 2017

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'
> [-Wshorten-64-to-32]
>                 return n - d->begin();
>                 ~~~~~~ ~~^~~~~~~~~~~~
> any idea what could be wrong ?

Nothing is wrong. That warning is not enabled during Qt's default build. We 
don't fix it because it's harmless.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list