Remove use of GNU extensions in parse_number_test.cpp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.4.14, 3.5.2
    • Affects Version/s: 3.2.3
    • Component/s: Build, Internal Code, Packaging
    • None
    • Environment:
      Discovered in Fedora 24. I think it is not OS dependent.
    • Fully Compatible
    • ALL
    • v3.4
    • Hide

      Every build with enable c++11

      Show
      Every build with enable c++11
    • Platforms 2017-01-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

              Assignee:
              Mark Benvenuto
              Reporter:
              Marek Skalický
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: