Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57068

QQuaternion - Warning Implicit conversion from 'float' to 'double'

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.9.0 Beta 2
    • Component/s: Core: Other
    • Labels:
      None
    • Commits:
      1e4054ce2f4f7b488b5d4963f32d4025e20cf537

      Description

      Warning from compiler about implicit conversion in QQuaternion::inverted()

      /usr/local/Trolltech/Qt5.7/5.7/gcc_64/include/QtGui/qquaternion.h:204: avertissement : implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion]
      return QQuaternion(wp / len, -xp / len, -yp / len, -zp / len);
      ^

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jefernan Jesus Fernandez
            Reporter:
            razamut razamut
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes