mars windows环境编译错误

cgfeq70w  于 2022-12-31  发布在  Windows
关注(0)|答案(3)|浏览(220)

Enter menu(or usage: python build_windows.py <Debug/Release>):

  1. Clean && build mars Release.
  2. Build mars Release incrementally.
  3. Clean && build mars Debug.
  4. Build mars Debug incrementally.
  5. Clean && build xlog Release.
  6. Clean && build xlog Debug.
  7. Gen mars project file.
  8. Exit
    1
    ==BUILD_DESCRIPTION==Revision:                   .description table { margin: 10px 0 15px 0; border-collapse: collapse; font-family: Helvetica, "Hiragino Sans GB", Arial, sans-serif; font-size: 11px; line-height: 16px; color: #737373; background-color: white; margin: 10px 12px 10px 12px;}.description td,th { border: 1px solid #ddd; padding: 3px 10px; }.description th { padding: 5px 10px; }.description a { color: #0069d6; }.description a:hover { color: #0050a3; text-decoration: none; }.description h5 { font-size: 14px; }
PublicComponent
KEYVALUE
Branch
BuildTag
BuildTime2020-10-13 19:41:21
Revision

build cmd:cmake ../.. -G "Visual Studio 14 2015" -T v140_xp && cmake --build . --target install --config Release
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
-- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
-- Check for working CXX compiler: D:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ==============config comm====================
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- ==============config mars-boost====================
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- ==============config app====================
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- ==============config baseevent====================
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- ==============config xlog====================
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- ==============config sdt====================
-- CMAKE_INSTALL_PREFIX=E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- ==============config stn====================
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- Selecting Windows SDK version to target Windows 10.0.16299.
-- ==============config mars====================
-- Configuring done
-- Generating done
-- Build files have been written to: E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows
Microsoft (R) 生成引擎版本 14.0.25420.1
版权所有(C) Microsoft Corporation。保留所有权利。

Checking Build System
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/CMakeFiles/generate.stamp
is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/comm/CMakeFiles/generate.
stamp is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/boost/CMakeFiles/generate
.stamp is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/app/CMakeFiles/generate.s
tamp is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/baseevent/CMakeFiles/gene
rate.stamp is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/xlog/CMakeFiles/generate.
stamp is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/sdt/CMakeFiles/generate.s
tamp is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/stn/CMakeFiles/generate.s
tamp is up-to-date.
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/zstd/CMakeFiles/generate.
stamp is up-to-date.
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/app/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/app/CMakeFiles/generate.s
tamp is up-to-date.
app_logic.cc
traffic_statistics.cc
app.vcxproj -> E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\app\Release\app.lib
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/baseevent/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/baseevent/CMakeFiles/gene
rate.stamp is up-to-date.
active_logic.cc
baseprj.cc
baseprjevent.cc
baseevent.vcxproj -> E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\baseevent\Release\baseevent.lib
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/comm/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/comm/CMakeFiles/generate.
stamp is up-to-date.
adler32.c
alarm.cc
anr.cc
autobuffer.cc
basepacker.cc
boost_exception.cc
comm_frequency_limit.cc
http.cc
memdbg.cc
mmap_util.cc
ptrbuffer.cc
singleton.cc
E:\Source\Ubuntu\mars-master\mars\comm\basepacker.cc(152): warning C4267: “=”: 从“size_t”转换到“unsigned char”,可能丢失数据 [E:\S
ource\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\basepacker.cc(186): warning C4018: “>”: 有符号/无符号不匹配 [E:\Source\Ubuntu\mars-master
\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\basepacker.cc(190): warning C4018: “>”: 有符号/无符号不匹配 [E:\Source\Ubuntu\mars-master
\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\basepacker.cc(216): warning C4018: “>”: 有符号/无符号不匹配 [E:\Source\Ubuntu\mars-master
\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\basepacker.cc(220): warning C4018: “>”: 有符号/无符号不匹配 [E:\Source\Ubuntu\mars-master
\mars\cmake_build\Windows\comm\comm.vcxproj]
strutil.cc
tickcount.cc
tinyxml2.cc
ibase64.cc
getaddrinfo_with_timeout.cc
getdnssvraddrs.cc
getifaddrs.cc
netinfo_util.cc
block_socket.cc
complexconnect.cc
local_ipstack.cc
nat64_prefix_util.cc
socket_address.cc
tcpclient.cc
tcpclient_fsm.cc
tcpserver.cc
tcpserver_fsm.cc
E:\Source\Ubuntu\mars-master\mars\comm\socket\complexconnect.cc(398): warning C4267: “初始化”: 从“size_t”转换到“uint8_t”,可能丢失数
据 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\complexconnect.cc(401): warning C4267: “=”: 从“size_t”转换到“uint8_t ”,可能丢失数据
[E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
udpclient.cc
udpserver.cc
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(100): error C2664: “bool IN6_IS_ADDR_NAT64(in6_addr *) ”
: 无法将参数 1 从“const IN6_ADDR *”转换为“in6_addr *” [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(100): note: 转换丢失限定符
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(105): error C2039: “in6”: 不是“sockaddr_storage”的成员 [E:\S
ource\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\ws2def.h(286): note: 参见“sockaddr_storage”的声明
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(105): error C2228: “.sin6_addr”的左边必须有类/结构/联 合 [E:\Source
\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(105): error C2228: “.u”的左边必须有类/结构/联合 [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(105): error C2228: “.Byte”的左边必须有类/结构/联合 [E:\Source\Ubun
tu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(129): error C2039: “in6”: 不是“sockaddr_storage”的成员 [E:\S
ource\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\ws2def.h(286): note: 参见“sockaddr_storage”的声明
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(129): error C2228: “.sin6_addr”的左边必须有类/结构/联 合 [E:\Source
\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(129): error C2228: “.u”的左边必须有类/结构/联合 [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(129): error C2228: “.Byte”的左边必须有类/结构/联合 [E:\Source\Ubun
tu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(143): error C2039: “in6”: 不是“sockaddr_storage”的成员 [E:\S
ource\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\include\ws2def.h(286): note: 参见“sockaddr_storage”的声明
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(143): error C2228: “.sin6_addr”的左边必须有类/结构/联 合 [E:\Source
\Ubuntu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(143): error C2228: “.u”的左边必须有类/结构/联合 [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
E:\Source\Ubuntu\mars-master\mars\comm\socket\socket_address.cc(143): error C2228: “.Byte”的左边必须有类/结构/联合 [E:\Source\Ubun
tu\mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
unix_socket.cc
xlogger.cc
xlogger_category.cc
coreservice_base.cc
dns.cc
message_queue.cc
TssGC.cpp
projdef.cc
uwp_compatible.cpp
xlogger_threadinfo.cpp
NetUtil.cpp
platform_comm.cpp
socketselect2.cc
E:\Source\Ubuntu\mars-master\mars\comm\windows\win32\NetUtil.cpp(31): warning C4018: “>”: 有符号/无符号不匹配 [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\comm\comm.vcxproj]
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/zstd/build/cmake/lib/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/zstd/CMakeFiles/generate.
stamp is up-to-date.
debug.c
entropy_common.c
error_private.c
fse_decompress.c
pool.c
threading.c
xxhash.c
zstd_common.c
fse_compress.c
hist.c
huf_compress.c
zstd_compress.c
zstd_compress_literals.c
zstd_compress_sequences.c
zstd_double_fast.c
zstd_fast.c
zstd_lazy.c
zstd_ldm.c
zstd_opt.c
zstdmt_compress.c
正在生成代码...
正在编译...
huf_decompress.c
zstd_ddict.c
zstd_decompress.c
zstd_decompress_block.c
cover.c
divsufsort.c
fastcover.c
zdict.c
zbuff_common.c
zbuff_compress.c
zbuff_decompress.c
正在生成代码...
libzstd_static.vcxproj -> E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\zstd\Release\zstd_static.lib
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/boost/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/boost/CMakeFiles/generate
.stamp is up-to-date.
lockpool.cpp
date_generators.cpp
gregorian_types.cpp
greg_month.cpp
greg_weekday.cpp
posix_time_types.cpp
clone_current_exception_non_intrusive.cpp
codecvt_error_category.cpp
operations.cpp
path.cpp
path_traits.cpp
portability.cpp
unique_path.cpp
utf8_codecvt_facet.cpp
windows_file_codecvt.cpp
file_descriptor.cpp
mapped_file.cpp
sp_collector.cpp
sp_debug_hooks.cpp
error_code.cpp
E:\Source\Ubuntu\mars-master\mars\boost\libs\iostreams\src\file_descriptor.cpp(241): warning C4800: “int”: 将值强制为 布尔值“tru
e”或“false”(性能警告) [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\boost\mars-boost.vcxproj]
E:\Source\Ubuntu\mars-master\mars\boost\libs\iostreams\src\file_descriptor.cpp(265): warning C4244: “参数”: 从“std::stream
size”转换到“DWORD”,可能丢失数据 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\boost\mars-boost.vcxproj]
E:\Source\Ubuntu\mars-master\mars\boost\libs\iostreams\src\file_descriptor.cpp(289): warning C4244: “参数”: 从“std::stream
size”转换到“DWORD”,可能丢失数据 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\boost\mars-boost.vcxproj]
future.cpp
thread.cpp
tss_dll.cpp
tss_pe.cpp
e:\source\ubuntu\mars-master\mars\boost\libs\iostreams\src\file_descriptor.cpp(344): warning C4715: “mars_boost::iostre
ams::detail::file_descriptor_impl::seek”: 不是所有的控件路径都返回值 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\boost\ma
rs-boost.vcxproj]
E:\Source\Ubuntu\mars-master\mars\boost\libs\iostreams\src\mapped_file.cpp(130): warning C4244: “return”: 从“const mars_
boost::iostreams::stream_offset”转换到“std::size_t”,可能丢失数据 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\boost\ma
rs-boost.vcxproj]
E:\Source\Ubuntu\mars-master\mars\boost\libs\iostreams\src\mapped_file.cpp(437): warning C4244: “参数”: 从“mars_boost::ios
treams::stream_offset”转换到“SIZE_T”,可能丢失数据 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\boost\mars-boost.vcxpro
j]
mars-boost.vcxproj -> E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\boost\Release\mars-boost.lib
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/sdt/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/sdt/CMakeFiles/generate.s
tamp is up-to-date.
sdt_logic.cc
sdt_core.cc
basechecker.cc
dnschecker.cc
httpchecker.cc
pingchecker.cc
tcpchecker.cc
base_netinfo_query.cc
dnsquery.cc
http_detector.cc
httpquery.cc
pingquery.cc
tcpquery.cc
netchecker_trafficmonitor.cc
sdt.vcxproj -> E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\sdt\Release\sdt.lib
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/stn/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/stn/CMakeFiles/generate.s
tamp is up-to-date.
anti_avalanche.cc
dynamic_timeout.cc
flow_limit.cc
frequency_limit.cc
longlink.cc
longlink_connect_monitor.cc
longlink_identify_checker.cc
longlink_metadata.cc
longlink_speed_test.cc
longlink_task_manager.cc
net_channel_factory.cc
net_check_logic.cc
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_metadata.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_metadata.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_metadata.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_connect_monitor.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_connect_monitor.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_connect_monitor.cc)
net_core.cc
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_task_manager.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_task_manager.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_task_manager.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_channel_factory.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_channel_factory.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_channel_factory.cc)
E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_task_manager.cc(68): error C2664: “Mutex::Mutex(const Mutex &)”: 无法将
参数 1 从“bool”转换为“const Mutex &” [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_task_manager.cc(68): note: 原因如下: 无法从“bool”转换为“const Mutex”
E:\Source\Ubuntu\mars-master\mars\stn\src\longlink_task_manager.cc(68): note: 无构造函数可以接受源类型,或构造函数重载决策不明确
net_source.cc
netsource_timercheck.cc
proxy_test.cc
shortlink.cc
shortlink_task_manager.cc
signalling_keeper.cc
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars/stn/src/longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
simple_ipport_sort.cc
E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc(777): error C2666: “XLogger::operator ()”: 2 个重载有相似的转换 [E:\Source
\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/comm/xlogger/xlogger.h(156): note: 可能是“XLogger &XLogger::operator ()(const XLoggerT
ag &,const char *)” (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars/comm/xlogger/xlogger.h(160): note: 或 “XLogger &XLogger::operator ()(const char *,.
..)” (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars/comm/xlogger/xlogger.h(272): note: 或 “XLogger &XLogger::operator ()(const TypeSafe
Format &,const char *)” (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc(777): note: 尝试匹配参数列表“(const char [34], const char *)” 时
E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc(782): error C2666: “XLogger::operator ()”: 2 个重载有相似的转换 [E:\Source
\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/comm/xlogger/xlogger.h(156): note: 可能是“XLogger &XLogger::operator ()(const XLoggerT
ag &,const char *)” (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars/comm/xlogger/xlogger.h(160): note: 或 “XLogger &XLogger::operator ()(const char *,.
..)” (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars/comm/xlogger/xlogger.h(272): note: 或 “XLogger &XLogger::operator ()(const TypeSafe
Format &,const char *)” (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc)
E:\Source\Ubuntu\mars-master\mars\stn\src\net_core.cc(782): note: 尝试匹配参数列表“(const char [34], const char *)” 时
smart_heartbeat.cc
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\netsource_timercheck.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\netsource_timercheck.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\netsource_timercheck.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\shortlink.cc)
E:\Source\Ubuntu\mars-master\mars\stn\src\shortlink.cc(587): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
]
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\shortlink.cc)
task_profile.cc
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\signalling_keeper.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\signalling_keeper.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\signalling_keeper.cc)
E:\Source\Ubuntu\mars-master\mars\stn\src\simple_ipport_sort.cc(195): warning C4805: “|”: 在操作中将类型“int”与类型 “bool”混合不安全 [E
:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\src\simple_ipport_sort.cc(261): warning C4805: “|”: 在操作中将类型“uint64_t”与类型“bool”混合不
安全 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\src\simple_ipport_sort.cc(308): warning C4805: “|”: 在操作中将类型“int”与类型 “bool”混合不安全 [E
:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\src\simple_ipport_sort.cc(320): warning C4805: “|”: 在操作中将类型“int”与类型 “bool”混合不安全 [E
:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
timing_sync.cc
weak_network_logic.cc
zombie_task_manager.cc
stn.cc
stn_callback_bridge.cc
stn_logic.cc
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\timing_sync.cc)
e:\source\ubuntu\mars-master\mars\stn\src\longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\timing_sync.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\src\timing_sync.cc)
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(252): error C2059: 语法错误:“if” [E:\Source\Ubuntu\mars-master
\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(252): error C2059: 语法错误:“else” [E:\Source\Ubuntu\mars-mast
er\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(253): error C2059: 语法错误:“return” [E:\Source\Ubuntu\mars-ma
ster\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(257): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(258): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(258): error C2227: “->OnTaskEnd”的左边必须指向类/结构/联 合/泛型类型 [E:\So
urce\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(258): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(262): error C2059: 语法错误:“if” [E:\Source\Ubuntu\mars-master
\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(262): error C2059: 语法错误:“else” [E:\Source\Ubuntu\mars-mast
er\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(263): error C3927: "->": 非函数声明符后不允许尾随返回类型 [E:\Source\Ubunt
u\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(263): error C3613: “->”后缺少返回类型(假定为“int”) [E:\Source\Ubuntu
\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(263): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(263): error C2146: 语法错误: 缺少“;”(在标识符“ReportConnectStatus”的前
面) [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(267): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(268): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(268): error C2227: “->OnLongLinkStatusChange”的左边必须指向类/结构/联
合/泛型类型 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(268): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(270): error C2065: “ErrCmdType”: 未声明的标识符 [E:\Source\Ubuntu
\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(270): error C2146: 语法错误: 缺少“)”(在标识符“_err_type ”的前面) [E:\Sou
rce\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(270): error C2143: 语法错误: 缺少“;”(在“{”的前面) [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(270): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) [E:\Source\Ubun
tu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(276): error C2065: “ErrCmdType”: 未声明的标识符 [E:\Source\Ubuntu
\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(276): error C2146: 语法错误: 缺少“)”(在标识符“_err_type ”的前面) [E:\Sou
rce\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(276): error C2143: 语法错误: 缺少“;”(在“{”的前面) [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(276): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) [E:\Source\Ubun
tu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(283): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(284): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(284): error C2227: “->GetLonglinkIdentifyCheckBuffer”的左边必须
指向类/结构/联合/泛型类型 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(284): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(288): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(289): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(289): error C2227: “->OnLonglinkIdentifyResponse”的左边必须指向类/
结构/联合/泛型类型 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(289): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(293): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(294): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(294): error C2227: “->RequestSync”的左边必须指向类/结构/ 联合/泛型类型 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(294): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(298): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(299): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(299): error C2227: “->RequestNetCheckShortLinkHosts”的左 边必须指
向类/结构/联合/泛型类型 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(299): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(302): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(302): error C2143: 语法错误: 缺少“,”(在“&”的前面) [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(303): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(304): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(304): error C2227: “->ReportTaskProfile”的左边必须指向类/结构/联合/泛型类
型 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(304): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(304): error C2065: “_task_profile”: 未声明的标识符 [E:\Source\Ubu
ntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(307): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(307): error C2143: 语法错误: 缺少“,”(在“&”的前面) [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(308): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(309): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(309): error C2227: “->ReportTaskLimited”的左边必须指向类/结构/联合/泛型类
型 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(309): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(309): error C2065: “_task”: 未声明的标识符 [E:\Source\Ubuntu\mars
-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(309): error C2065: “_param”: 未声明的标识符 [E:\Source\Ubuntu\mar
s-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(312): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(312): error C2143: 语法错误: 缺少“,”(在“&”的前面) [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(313): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(314): error C2065: “sg_callback_bridge”: 未声明的标识符 [E:\Sourc
e\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(314): error C2227: “->ReportDnsProfile”的左边必须指向类/ 结构/联合/泛型类型
[E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(314): note: 类型是“unknown-type”
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(314): error C2065: “_dns_profile”: 未声明的标识符 [E:\Source\Ubun
tu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(317): error C2059: 语法错误:“}” [E:\Source\Ubuntu\mars-master
mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(317): error C2143: 语法错误: 缺少“;”(在“}”的前面) [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(318): error C2143: 语法错误: 缺少“;”(在“}”的前面) [E:\Source\Ubuntu
mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_callback_bridge.cc(318): error C2059: 语法错误:“}” [E:\Source\Ubuntu\mars-master
mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4521: “move_wrapper<AutoBuffer,S>”: 指定了多个复制构造函数 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc)
E:\Source\Ubuntu\mars-master\mars/stn/src/longlink.h(73): note: 参见对正在编译的类 模板 实例化“move_wrapper<AutoBuffer,S>”的引用
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc)
E:\Source\Ubuntu\mars-master\mars/comm/move_wrapper.h(87): warning C4522: “move_wrapper<AutoBuffer,S>”: 指定了多个赋值运算符 [E:
Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
with
[
S=AutoBuffer
] (编译源文件 E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc)
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(275): error C2373: “mars::stn::CreateLonglink_ext”: 重定义;不同的 类型修饰符 [E:
\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/stn/stn_logic.h(146): note: 参见“mars::stn::CreateLonglink_ext”的声明
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(277): error C2593: “operator +”不明确 [E:\Source\Ubuntu\mars-master\mar
s\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(277): note: 可能是“内置 C++ operator+(void (__cdecl *)(const mars::stn:
:LonglinkConfig &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(277): note: 或 “内置 C++ operator+(void (__stdcall *)(const mars::
stn::LonglinkConfig &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(277): note: 或 “内置 C++ operator+(void (__fastcall *)(const mars:
:stn::LonglinkConfig &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(277): note: 或 “内置 C++ operator+(void (__vectorcall *)(const mar
s::stn::LonglinkConfig &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(277): note: 尝试匹配参数列表“(mars::stn::<lambda_d64242b042015e26a47a09286
522676e>)”时
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(277): error C2088: “+”: 对于 class 非法 [E:\Source\Ubuntu\mars-master\ma
rs\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(279): error C2373: “mars::stn::DestroyLonglink_ext”: 重定义;不同的类型修饰符 [E
:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/stn/stn_logic.h(147): note: 参见“mars::stn::DestroyLonglink_ext”的声明
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(281): error C2593: “operator +”不明确 [E:\Source\Ubuntu\mars-master\mar
s\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(281): note: 可能是“内置 C++ operator+(void (__cdecl *)(const std::strin
g &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(281): note: 或 “内置 C++ operator+(void (__stdcall *)(const std::s
tring &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(281): note: 或 “内置 C++ operator+(void (__fastcall *)(const std::
string &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(281): note: 或 “内置 C++ operator+(void (__vectorcall *)(const std
::string &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(281): note: 尝试匹配参数列表“(mars::stn::<lambda_6a0f20f8320f655daec95a5d9
9e49460>)”时
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(281): error C2088: “+”: 对于 class 非法 [E:\Source\Ubuntu\mars-master\ma
rs\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(288): error C2373: “mars::stn::LongLinkIsConnected_ext”: 重定义;不同的类型修饰
符 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/stn/stn_logic.h(151): note: 参见“mars::stn::LongLinkIsConnected_ext”的声明
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(292): error C2593: “operator +”不明确 [E:\Source\Ubuntu\mars-master\mar
s\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(292): note: 可能是“内置 C++ operator+(mars::stn::<lambda_cd1d34d7ad50ee
30972fcdb83d6be34a>::<lambda_typedef_cdecl>)”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(292): note: 或 “内置 C++ operator+(mars::stn::<lambda_cd1d34d7ad50
ee30972fcdb83d6be34a>::<lambda_typedef_stdcall>)”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(292): note: 或 “内置 C++ operator+(mars::stn::<lambda_cd1d34d7ad50
ee30972fcdb83d6be34a>::<lambda_typedef_fastcall>)”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(292): note: 或 “内置 C++ operator+(mars::stn::<lambda_cd1d34d7ad50
ee30972fcdb83d6be34a>::<lambda_typedef_vectorcall>)”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(292): note: 尝试匹配参数列表“(mars::stn::<lambda_cd1d34d7ad50ee30972fcdb83
d6be34a>)”时
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(292): error C2088: “+”: 对于 class 非法 [E:\Source\Ubuntu\mars-master\ma
rs\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(294): error C2373: “mars::stn::MarkMainLonglink_ext”: 重定义;不同 的类型修饰符 [
E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/stn/stn_logic.h(149): note: 参见“mars::stn::MarkMainLonglink_ext”的声明
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(296): error C2593: “operator +”不明确 [E:\Source\Ubuntu\mars-master\mar
s\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(296): note: 可能是“内置 C++ operator+(void (__cdecl *)(const std::strin
g &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(296): note: 或 “内置 C++ operator+(void (__stdcall *)(const std::s
tring &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(296): note: 或 “内置 C++ operator+(void (__fastcall *)(const std::
string &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(296): note: 或 “内置 C++ operator+(void (__vectorcall *)(const std
::string &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(296): note: 尝试匹配参数列表“(mars::stn::<lambda_a46596703ccb179d546adfadc
83fb111>)”时
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(296): error C2088: “+”: 对于 class 非法 [E:\Source\Ubuntu\mars-master\ma
rs\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(298): error C2373: “mars::stn::MakesureLonglinkConnected_ext”: 重定义;不
同的类型修饰符 [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars/stn/stn_logic.h(152): note: 参见“mars::stn::MakesureLonglinkConnected_ext”的声明
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(300): error C2593: “operator +”不明确 [E:\Source\Ubuntu\mars-master\mar
s\cmake_build\Windows\stn\stn.vcxproj]
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(300): note: 可能是“内置 C++ operator+(void (__cdecl *)(const std::strin
g &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(300): note: 或 “内置 C++ operator+(void (__stdcall *)(const std::s
tring &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(300): note: 或 “内置 C++ operator+(void (__fastcall *)(const std::
string &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(300): note: 或 “内置 C++ operator+(void (__vectorcall *)(const std
::string &))”
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(300): note: 尝试匹配参数列表“(mars::stn::<lambda_c973a6b1eeacff6fce790f228
8568ca7>)”时
E:\Source\Ubuntu\mars-master\mars\stn\stn_logic.cc(300): error C2088: “+”: 对于 class 非法 [E:\Source\Ubuntu\mars-master\ma
rs\cmake_build\Windows\stn\stn.vcxproj]
Building Custom Rule E:/Source/Ubuntu/mars-master/mars/log/CMakeLists.txt
CMake does not need to re-run because E:/Source/Ubuntu/mars-master/mars/cmake_build/Windows/xlog/CMakeFiles/generate.
stamp is up-to-date.
appender.cc
formater.cc
log_base_buffer.cc
log_zlib_buffer.cc
log_zstd_buffer.cc
xlogger_interface.cc
log_crypt.cc
E:\Source\Ubuntu\mars-master\mars\log\src\formater.cc(87): error C2039: “tm_gmtoff”: 不是“tm”的成员 [E:\Source\Ubuntu\mars-m
aster\mars\cmake_build\Windows\xlog\xlog.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(505): note: 参见“tm”的声明
E:\Source\Ubuntu\mars-master\mars\log\src\formater.cc(93): warning C4477: “_snprintf”: 格式字符串“%.3s”需要类型“char *”的参数,但可变参数
4 拥有了类型“double” [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\xlog\xlog.vcxproj]
E:\Source\Ubuntu\mars-master\mars\log\crypt\log_crypt.cc(74): warning C4305: “return”: 从“int”到“bool”截断 [E:\Source\Ubunt
u\mars-master\mars\cmake_build\Windows\xlog\xlog.vcxproj]
E:\Source\Ubuntu\mars-master\mars\log\src\appender.cc(710): warning C4477: “_snprintf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 4
拥有了类型“time_t” [E:\Source\Ubuntu\mars-master\mars\cmake_build\Windows\xlog\xlog.vcxproj]
E:\Source\Ubuntu\mars-master\mars\log\src\appender.cc(710): note: 请考虑在格式字符串中使用“%lld”
E:\Source\Ubuntu\mars-master\mars\log\src\appender.cc(710): note: 请考虑在格式字符串中使用“%I64d”
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!

6ojccjat

6ojccjat1#

请问楼主解决了吗,也遇到这个问题

yxyvkwin

yxyvkwin2#

改为mars1.3.0版本后可以编译使用。

w8f9ii69

w8f9ii693#

改为mars1.3.0版本后可以编译使用。

谢谢兄弟,解决了。好人一生平安。

相关问题