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

Automatically generate error_codes.h and error_codes.cpp from a list of codes

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1
    • Build
    • None
    • scons and Visual Studio builds

    Description

      The source files mongo/base/error_codes.h and mongo/base/error_codes.cpp need to be kept in sync as new error codes are added. This would be easier to do correctly if the files were automatically generated by the build system from a single list of error codes.

      Both of the scons and Visual Studio builds should do this, producing identical output files.

      Attachments

        Activity

          People

            schwerin@mongodb.com Andy Schwerin
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: