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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.1
    • Affects Version/s: 2.3.0
    • Component/s: Build
    • None
    • Environment:
      scons and Visual Studio builds

      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.

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

              Created:
              Updated:
              Resolved: