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/11/14 18:03:01 UTC

[jira] [Created] (MESOS-8220) Can't build with Visual Studio 15.5

Andrew Schwartzmeyer created MESOS-8220:
-------------------------------------------

             Summary: Can't build with Visual Studio 15.5
                 Key: MESOS-8220
                 URL: https://issues.apache.org/jira/browse/MESOS-8220
             Project: Mesos
          Issue Type: Bug
          Components: cmake
         Environment: Windows with Visual Studio 15.5 (Preview)
            Reporter: Andrew Schwartzmeyer
            Assignee: Andrew Schwartzmeyer
            Priority: Minor


Our dependency GoogleTest builds with -Werror, which normally is fine, except when updated developer tools start throwing more warnings. From the VS team:

{quote}
In VS 2017's second toolset update, I'm going to deprecate the std::tr1 namespace (with the {{deprecated}} attribute, emitting compiler warnings) in both the C++14 and C++17 modes. This will cause googletest's use of std::tr1 to emit warnings (breaking builds under /WX).

While I will provide an escape-hatch macro to silence the deprecation warnings, googletest should migrate away from using std::tr1, as it will be removed in the future (eventually completely, with no escape hatches).
{quote}

We will need to deal with this in Mesos itself eventually, but shouldn't disable Mesos' warning. However, we need to disable Googletest's warning until their patch is released in an update (and we consume or patch in that update).



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