Joseph Wu created MESOS-5994:
--------------------------------

             Summary: Add Windows support for modules 
                 Key: MESOS-5994
                 URL: https://issues.apache.org/jira/browse/MESOS-5994
             Project: Mesos
          Issue Type: Improvement
          Components: modules
         Environment: Windows
            Reporter: Joseph Wu
            Priority: Minor


Modules are currently not supported on Windows due to a couple limitations:

* GCC and Clang export all symbols to shared libraries by default.  MSVC has 
the opposite behavior and does not export any symbols by default.  To properly 
create a shared library on Windows, one must {{__declspec(dllexport)}} every 
single exposed function/class.
* CMake 3.4+ has utilities for auto-generating exports, but upgrading the CMake 
requirement has other version incompatibilities.
* We can't load a statically linked module due to a runtime check in the 
protobuf library.

For now, module-related code is not compiled on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to