mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Wera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-7541) Cannot compile without pre-compiled headers on Windows
Date Fri, 04 Aug 2017 08:15:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-7541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114101#comment-16114101
] 

Piotr Wera commented on MESOS-7541:
-----------------------------------

I have same issue.
AF_INET6 comes form #include <ws2def.h> ?
Environment:
Windows 7, NMake build.

> 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: Andrew Schwartzmeyer
>              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\mesos-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.4.14#64029)

Mime
View raw message