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

Clean up header include order sensitivity

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.4
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Repl 2017-03-06

      All of our headers are supposed to be includable in any order. At least two cases aren't and need to be fixed:

      • itoa.h doesn't have #pragma once
      • remote_command_request/response.h must be included before unittest.h

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: