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

Joseph Wu updated MESOS-7541:
-----------------------------
    Description: 
Looks like we messed up an include at some point:

{noformat}
"C:\Users\andschwa\src\mesos\build\src\tests\mesos-tests.vcxproj" (default 
target) (1) ->
"C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj" (default target) 
(4) ->
(ClCompile target) ->
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(104): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(138): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(234): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(246): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(246): error 
C2512: 'Try<net::IP,Error>': no appropriate default constructor available 
(compiling source file C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mes
os-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(325): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(454): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(454): error 
C2228: left of '.get' must have class/struct/union (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(256): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(273): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]

    400 Warning(s)
    40 Error(s)
{noformat}

  was:
Looks like we messed up an include at some point:

"C:\Users\andschwa\src\mesos\build\src\tests\mesos-tests.vcxproj" (default 
target) (1) ->
"C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj" (default target) 
(4) ->
(ClCompile target) ->
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(104): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(138): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(234): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(246): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(246): error 
C2512: 'Try<net::IP,Error>': no appropriate default constructor available 
(compiling source file C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mes
os-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(325): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(454): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(454): error 
C2228: left of '.get' must have class/struct/union (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): error 
C2131: expression did not evaluate to a constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(256): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(273): error 
C2065: 'AF_INET6': undeclared identifier (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
  C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): error 
C2051: case expression not constant (compiling source file 
C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
[C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]

    400 Warning(s)
    40 Error(s)


> Cannot compile without pre-compiled headers on Windows
> ------------------------------------------------------
>
>                 Key: MESOS-7541
>                 URL: https://issues.apache.org/jira/browse/MESOS-7541
>             Project: Mesos
>          Issue Type: Bug
>         Environment: Windows 10 with  -DENABLE_PRECOMPILED_HEADERS=0
>            Reporter: Andrew Schwartzmeyer
>            Assignee: Jeff Coffler
>              Labels: cmake, windows
>
> Looks like we messed up an include at some point:
> {noformat}
> "C:\Users\andschwa\src\mesos\build\src\tests\mesos-tests.vcxproj" (default 
> target) (1) ->
> "C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj" (default target) 
> (4) ->
> (ClCompile target) ->
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(104): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(138): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(151): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(164): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(234): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(246): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(246): error 
> C2512: 'Try<net::IP,Error>': no appropriate default constructor available 
> (compiling source file C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mes
> os-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(233): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(293): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(325): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(322): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(384): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(454): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(454): error 
> C2228: left of '.get' must have class/struct/union (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(475): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(523): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
> C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
> C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/ip.hpp(647): error 
> C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): 
> error C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): 
> error C2131: expression did not evaluate to a constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(256): 
> error C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(273): 
> error C2065: 'AF_INET6': undeclared identifier (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>   C:\Users\andschwa\src\mesos\3rdparty\stout\include\stout/net.hpp(253): 
> error C2051: case expression not constant (compiling source file 
> C:\Users\andschwa\src\mesos\src\zookeeper\group.cpp) 
> [C:\Users\andschwa\src\mesos\build\src\mesos-1.4.0.vcxproj]
>     400 Warning(s)
>     40 Error(s)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to