everything now includes <boost/preprocessor/control/iif.hpp>

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • Fully Compatible
    • Service Arch 2023-10-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      An include for a rather obscure boost preprocessor header has been added by the IWYU sweep, to over 1500 c++ source files.

      #include <boost/preprocessor/control/iif.hpp>
      

      I don't really understand why IWYU would do this to a file like
      "src/mongo/db/commands/server_status_metric.h", which doesn't have any macros inside it at all. It seems like IWYU made a mistake here and it should be undone.

      I think maybe one of the other headers needs something from the iif.hpp header and IWYU didn't resolve that dependency appropriately.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: