You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/09/20 21:13:02 UTC

[jira] [Created] (MESOS-7993) Fix Windows header orderings

Andrew Schwartzmeyer created MESOS-7993:
-------------------------------------------

             Summary: Fix Windows header orderings
                 Key: MESOS-7993
                 URL: https://issues.apache.org/jira/browse/MESOS-7993
             Project: Mesos
          Issue Type: Bug
          Components: libprocess, stout
         Environment: Windows 10
            Reporter: Andrew Schwartzmeyer
            Assignee: Andrew Schwartzmeyer


On Windows it is imperative to include headers such as {{winsock2.h}} strictly before {{windows.h}}. Unfortunately, we don't always do this. Also, we erroneously include headers such as {{winsock.h}} even though we're using {{winsock2.h}}. A reasonable solution would be to consolidate Windows system headers into {{<stout/windows.hpp>}}, and include it where particular (and troublesome) system headers need to be included.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)