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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes