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

config.h header should be sorted in when possible

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

      Right now the config.h header is forced to be first by the linter. There is no need to be so restrictive.

      We should:

      • Sort in config.h headers
      • Update the linter so it whines if a MONGO_CONFIG_ macro is used before config.h has been seen.

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

              Created:
              Updated:
              Resolved: