You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Alex Clemmer (JIRA)" <ji...@apache.org> on 2015/10/14 23:31:05 UTC

[jira] [Created] (MESOS-3737) `limiter.hpp` causes template specialization error on Windows 10/MSVC 1900

Alex Clemmer created MESOS-3737:
-----------------------------------

             Summary: `limiter.hpp` causes template specialization error on Windows 10/MSVC 1900
                 Key: MESOS-3737
                 URL: https://issues.apache.org/jira/browse/MESOS-3737
             Project: Mesos
          Issue Type: Bug
          Components: libprocess
            Reporter: Alex Clemmer
            Assignee: Alex Clemmer


Manifests most clearly when you change `src/CMakeLists.txt` to compile `monitor.cpp`. You get an error like this:

```
Severity	Code	Description	Project	File	Line
Error	C2893	Failed to specialize function template 'unknown-type std::invoke(_Callable &&,_Types &&...)'	mesos-0.26.0	C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\type_traits	1529
```

When you investigate you see that actually the error seems to come the 3-argument `defer` call in `RateLimiterProcess::acquire` (which is in `process/limiter.hpp`). If I'm not mistaken, that is one of the calls that are created with the preprocessor in `defer.hpp`.

We will need to resolve this for (among other things) the monitor to move forward.



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