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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • legacy-1.0.6
    • None
    • Build
    • Kubuntu 15.04, gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)

    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

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

            Dates

              Created:
              Updated:
              Resolved: