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

Windows 11 x64: MinGW build with GCC 15 fails in third party error: 'decimal_point' may be used uninitialized

XMLWordPrintable

    • Windows
    • 1
    • 558c69a05 (dev), 73bb0f636 (6.10), 14f3ee5cc (tqtc/lts-6.8), e605c7c78 (tqtc/lts-6.5)
    • Foundation Sprint 142

      This error happens when updating MinGW-W64 from GCC 13.1. to GCC 15.1.0

      Logs:

      C:/Users/qt/work/qt/qtbase/src/3rdparty/double-conversion/double-conversion/double-to-string.cc:197:7: error: 'decimal_point' may be used uninitialized [-Werror=maybe-uninitialized]
      agent:2025/10/31 10:37:26 build.go:414:   197 |   int exponent = decimal_point - 1;
      agent:2025/10/31 10:37:26 build.go:414:       |       ^~~~~~~~
      agent:2025/10/31 10:37:26 build.go:414: C:/Users/qt/work/qt/qtbase/src/3rdparty/double-conversion/double-conversion/double-to-string.cc:183:7: note: 'decimal_point' was declared here
      agent:2025/10/31 10:37:26 build.go:414:   183 |   int decimal_point;
      agent:2025/10/31 10:37:26 build.go:414:       |       ^~~~~~~~~~~~~
      agent:2025/10/31 10:37:26 build.go:414: cc1plus.exe: all warnings being treated as errors

       

       

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

            ivan.solovev Ivan Solovev
            teheikki Tero Heikkinen
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes