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

config.h header should be sorted in when possible

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.1
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            acm Andrew Morrow
            Reporter:
            acm Andrew Morrow
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: