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

Warning on string alignment on windows with static LTCG build

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.9.1
    • Core: Other
    • None
    • Windows, MSVC 2017, Qt 5.9.1 cloned from git at 9bb17a6f8839a2aecb449b595d706ed258419712

    Description

      Getting the following warnings which could be dangerous or indicate deeper problems.

      I configured Qt with :

       

      w:\GitHub\qt5\configure.bat -platform win32-msvc -no-pch -ltcg -opengl desktop -static -nomake tests -nomake examples -skip qtquick1 -skip qtwebkit-examples -skip qtwebengine -skip qtwebchannel -skip qtwebview -skip qtwebkit -skip qtremoteobjects -skip qtspeech -opensource -confirm-license -release -prefix w:\qt5-static

       

      The warnings are:

      qsgd3d12backend.lib(moc_qsgd3d12adaptation_p.obj) : 
      warning C4742: '`string'' has a different alignment in 'w:\github\qt5\qtdeclarative\src\qml\compiler\qv4jsir.cpp' and 'w:\github\qt5\qtdeclarative\src\qml\qml\qqmlpropertycache.cpp' : 2 and 1
      warning C4742: '`string'' has a different alignment in 'w:\github\qt5\qtbase\src\corelib\io\qurlidna.cpp' and 'w:\github\qt5\qtdeclarative\src\qml\qml\qqmlpropertycache.cpp' : 2 and 1
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            jcelerier Jean-Michaël Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes