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

Use a global constant or a local static in the test "doubleformat"

XMLWordPrintable

      The configure test "doubleformat" (qt/config.tests/unix/doubleformat/) use a global static double:
      static double d [] =

      { 710524581542275055616.0, 710524581542275055616.0}

      ;

      This test fails when compiled with the optimization and the option -fno-keep-static-consts (with GCC 4.3.2).
      Using a local static or a global variable is a workaround for this problem.

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

            stormols Marius Storm-Olsen
            poulain Benjamin Poulain (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes