Opened 7 years ago

Closed 4 years ago

#11477 closed Bugs (fixed)

Boost's thread and std's thread conflict

Reported by: GradyDeng Owned by: viboes
Milestone: Boost 1.69 Component: thread
Version: Boost 1.57.0 Severity: Problem
Keywords: thread Cc: 404006841@…

Description

error C2872: “xtime”: Ambiguous symbol

1> maybe is “D:\tools\vs2013\VC\include\thr/xtimec.h(23) : xtime” 1> or “D:\libs\boost_1_58_0\boost/thread/xtime.hpp(35) : boost::xtime”

Change History (12)

comment:1 by viboes, 7 years ago

Component: Nonethread
Owner: set to viboes
Status: newassigned

comment:2 by viboes, 7 years ago

Please, could you provide a simple example. Are you using using namespace boost?

comment:3 by viboes, 7 years ago

Type: BugsSupport Requests

comment:4 by viboes, 7 years ago

PING !!!

comment:5 by viboes, 7 years ago

Resolution: worksforme
Status: assignedclosed

comment:6 by anonymous, 5 years ago

1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> CountersMg.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> HttpServerSession.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> INiceNetServer.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> ImpNetLog.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> InPublicPreDefine.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> NetCountersInstanceMg.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> NetLogMg.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> NiceHttpReq.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> NiceIDMg.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> NiceLog.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1>C:\vs15\VC\include\thr/xtimec.h(24): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\thr/xtimec.h(26): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\thr/xtimec.h(27): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\chrono(1014): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\thr/xthreads.h(33): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\thr/xthreads.h(56): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\thr/xthreads.h(82): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\thr/xthread(78): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\thr/xthread(99): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\mutex(308): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1> C:\vs15\VC\include\mutex(440): note: 参见对正在编译的类 模板 实例化“std::unique_lock<_Mutex>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(54): note: 参见对正在编译的类 模板 实例化“boost::arg<9>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(53): note: 参见对正在编译的类 模板 实例化“boost::arg<8>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(52): note: 参见对正在编译的类 模板 实例化“boost::arg<7>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(51): note: 参见对正在编译的类 模板 实例化“boost::arg<6>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(50): note: 参见对正在编译的类 模板 实例化“boost::arg<5>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(49): note: 参见对正在编译的类 模板 实例化“boost::arg<4>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(48): note: 参见对正在编译的类 模板 实例化“boost::arg<3>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(47): note: 参见对正在编译的类 模板 实例化“boost::arg<2>”的引用 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(46): note: 参见对正在编译的类 模板 实例化“boost::arg<1>”的引用 1>C:\vs15\VC\include\mutex(378): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\mutex(624): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\mutex(637): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\mutex(646): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\mutex(565): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 1>C:\vs15\VC\include\mutex(626): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 1>C:\vs15\VC\include\mutex(629): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 1>C:\vs15\VC\include\mutex(663): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 1>C:\vs15\VC\include\mutex(668): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 1>C:\vs15\VC\include\mutex(748): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1>C:\vs15\VC\include\mutex(877): error C2872: “xtime”: 不明确的符号 1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 1> NiceNet.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> NiceNetCounter.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> NormalThreadMg.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> Scheduler.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> 正在生成代码... 1> 正在编译... 1> Scheduler_impl.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> TCPClient.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> TCPClientSession.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> TCPServer.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> TCPServerSession.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> WebSocketSession.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> XZhtTCPBase.cpp 1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 1> 正在生成代码... ========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

comment:7 by anonymous, 5 years ago

Hi,

I'm facing the same issue. How to resolve this issue, please help

comment:8 by viboes, 5 years ago

Resolution: worksforme
Status: closedreopened

Please, reopen the issues when you found them again.

comment:9 by viboes, 5 years ago

Please, could you report the compiler error?

comment:10 by viboes, 4 years ago

Type: Support RequestsBugs

Please, next time add report in English and well formatted

1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> Coun
tersMg?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> HttpServerSession?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> INiceNetServer.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> ImpNetLog?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> InPublicPreDefine?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> NetCountersInstanceMg?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> NetLogMg?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> NiceHttpReq?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> NiceIDMg.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> NiceLog?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1>C:\vs15\VC\include\thr/xtimec.h(24): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\thr/xtimec.h(26): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\thr/xtimec.h(27): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\chrono(1014): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\thr/xthreads.h(33): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\thr/xthreads.h(56): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\thr/xthreads.h(82): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\thr/xthread(78): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\thr/xthread(99): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\mutex(308): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1> C:\vs15\VC\include\mutex(440): note: 参见对正在编译的类 模板 实例化“std::unique_lock<_Mutex>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(54): note: 参见对正在编译的类 模板 实例化“boost::arg<9>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(53): note: 参见对正在编译的类 模板 实例化“boost::arg<8>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(52): note: 参见对正在编译的类 模板 实例化“boost::arg<7>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(51): note: 参见对正在编译的类 模板 实例化“boost::arg<6>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(50): note: 参见对正在编译的类 模板 实例化“boost::arg<5>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(49): note: 参见对正在编译的类 模板 实例化“boost::arg<4>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(48): note: 参见对正在编译的类 模板 实例化“boost::arg<3>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(47): note: 参见对正在编译的类 模板 实例化“boost::arg<2>”的引用 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/bind/placeholders.hpp(46): note: 参见对正在编译的类 模板 实例化“boost::arg<
1>”的引用 
1>C:\vs15\VC\include\mutex(378): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\mutex(624): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\mutex(637): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\mutex(646): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\mutex(565): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 
1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 
1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 
1>C:\vs15\VC\include\mutex(626): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 
1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 
1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 
1>C:\vs15\VC\include\mutex(629): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 
1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 
1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 
1>C:\vs15\VC\include\mutex(663): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 
1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 
1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 
1>C:\vs15\VC\include\mutex(668): error C2248: “std::_Mutex_base::_Mymtx”: 无法访问 private 成员(在“std::_Mutex_base”类中声明) 
1> C:\vs15\VC\include\mutex(71): note: 参见“std::_Mutex_base::_Mymtx”的声明 
1> C:\vs15\VC\include\mutex(26): note: 参见“std::_Mutex_base”的声明 
1>C:\vs15\VC\include\mutex(748): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1>C:\vs15\VC\include\mutex(877): error C2872: “xtime”: 不明确的符号 
1> C:\vs15\VC\include\thr/xtimec.h(19): note: 可能是“xtime” 
1> D:\QzhXGame2015\XDepend\stl_boost_wstl\boost/thread/xtime.hpp(35): note: 或 “boost::xtime” 
1> NiceNet?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> NiceNetCounter?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> NormalThreadMg?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> Scheduler.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> 正在生成代码... 
1> 正在编译... 
1> Scheduler_impl.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> TCPClient.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> TCPClientSession.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> TCPServer.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> TCPServerSession.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> WebSocketSession?.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> XZhtTCPBase.cpp 
1> Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example: 
1> - add -D_WIN32_WINNT=0x0501 to the compiler command line; or 
1> - add _WIN32_WINNT=0x0501 to your project's Preprocessor Definitions. 
1> Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target). 
1> 正在生成代码... ========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

Last edited 4 years ago by viboes (previous) (diff)

comment:12 by viboes, 4 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.