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

WASM: qt_snan warning when compiling Qt project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.13.1
    • Core: Other
    • None
    • Emscripten 1.38.43
    • WebAssembly

    Description

      I'm experiencing the following warnings when compiling my Qt project against WebAssembly:

      emcc: warning: cannot represent a NaN literal '0x55e921c2a920' with custom bit pattern in NaN-canonicalizing JS engines (e.g. Firefox and Safari) without erasing bits!
       in ret double 0x7FF4000000000000 in _ZL7qt_snanv()
      emcc: warning: cannot represent a NaN literal '0x55e921c2a920' with custom bit pattern in NaN-canonicalizing JS engines (e.g. Firefox and Safari) without erasing bits!
       in ret double 0x7FF4000000000000 in _ZL7qt_snanv.31612()

      It would be nice if these warnings could somehow be handled or muted, so that the build becomes more clean. However, I'm not sure if Qt is actually to blame for these warnings, or if the warnings should instead be handled Emscripten side.

      Attachments

        For Gerrit Dashboard: QTBUG-77967
        # Subject Branch Project Status CR V

        Activity

          People

            lpotter Lorn Potter
            forderud Fredrik Orderud
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes