You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Artem Harutyunyan (JIRA)" <ji...@apache.org> on 2016/07/08 20:28:11 UTC

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

     [ https://issues.apache.org/jira/browse/MESOS-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Artem Harutyunyan updated MESOS-3737:
-------------------------------------
    Fix Version/s: 1.0.0

This was resolved over many commits leading up to review: https://reviews.apache.org/r/48000/ at revision: 6e199cc255cbf561fac575568b0594ac2b2c14f9


> `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
>              Labels: libprocess, mesosphere
>             Fix For: 1.0.0
>
>
> 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)