Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23420

Remove use of GNU extensions in parse_number_test.cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 3.2.3
    • Fix Version/s: 3.4.14, 3.5.2
    • Component/s: Build, Internal Code, Packaging
    • Labels:
      None
    • Environment:
      Discovered in Fedora 24. I think it is not OS dependent.
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Steps To Reproduce:
      Hide

      Every build with enable c++11

      Show
      Every build with enable c++11
    • Epic Link:
    • Sprint:
      Platforms 2017-01-23

      Description

      MongoDB in its code use hexadecimal floats. MongoDB requires c++11 support, but it enables it by -std=c++11 compiler flag.

      It should be used -std=gnu++11 instead of it. Hexadecimal floats are not part of c++11 and are only in extensions. It was working but with latest version of gcc 6.0 it is failing.

      See https://bugzilla.redhat.com/show_bug.cgi?id=1321986

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: