Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-662

Build error with g++ using '-pedantic-errors' key

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: legacy-1.0.6
    • Component/s: Build
    • Labels:
    • Environment:
      Kubuntu 15.04, gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
    • Sprint:
      Platform A (10/09/15), Platform B (10/30/15)

      Description

      using -pedantic-error I have these errors:

      /mongo/platform/atomic_word_cxx11.h:186: error: extra ';' [-Wpedantic]
      /mongo/platform/atomic_word_cxx11.h:187: error: extra ';' [-Wpedantic]
      /mongo/platform/atomic_word_cxx11.h:188: error: extra ';' [-Wpedantic]
      /mongo/platform/atomic_word_cxx11.h:189: error: extra ';' [-Wpedantic]

      Of course I have fixed it, but I think you should fix it, too.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: