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

qdrawhelper warning C4700, uninitialized local variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.8.0 Beta4
    • GUI: Painting
    • None
    • Windows ARM 24H2, Visual Studio with ARM64 Native Toolchain
    • Windows

      When building QT 6.8.0-beta4 on an ARM system, qdrawhelper.cpp throws a warning on the following lines (warning C4700):

      1589 - uninitialized local variable 'v_top' used

      1590 - uninitialized local variable 'v_bot' used

      1809 - uninitialized local variable 'v_top' used

      1801 - uninitialized local variable 'v_bot' used

      These warnings end up turning into breakpoints in MSVC compiled applications when using certain GUI functions due to these uninitialized variables.

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

            vgt Eirik Aavitsland
            lexcyn Devin Arthur
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes