Client facing headers should not include windows.h

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you use the C++ client driver headers, you automatically include windows.h, and get WIN32_LEAN_AND_MEAN set, via our windows_basic.h header. Our driver shouldn't drag all of windows.h into scope just to talk to the database. windows_basic.h should only be included in .cpp scope, not header scope.

      See HELP-78 for examples of where this causes problems in practice.

              Assignee:
              Unassigned
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: