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

For debug builds using libstdc++, enable the debugging features in that library

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible

      The libstdc++ library offers debugging versions of containers and iterators, much like the windows standard library. The windows library does periodically catch bugs for us, but typically as a breaking commit on MCI.

      Since many developers work primarily against libstdc++, we should consider enabling its debugging features to try to catch similar errors sooner:

      http://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html

      One restriction is that I think we can only do this when we are building against our vendored versions of C++ libraries, but that isn't too hard to enforce.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: