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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • legacy-1.0.6
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
    • Environment:
      Kubuntu 15.04, gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)

      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.

            Assignee:
            adam.midvidy Adam Midvidy
            Reporter:
            RomanK Roman Karasev [X]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: