Re: [Boost-bugs] [Boost C++ Libraries] #11477: Boost's thread and std's thread conflict

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11477: Boost's thread and std's thread conflict
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-09-15 03:52:43


#11477: Boost's thread and std's thread conflict
-------------------------------+----------------------
  Reporter: GradyDeng | Owner: viboes
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords: thread
-------------------------------+----------------------
Changes (by viboes):

 * type: Support Requests => Bugs

Comment:

 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 个 ==========

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/11477#comment:10>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2018-09-15 03:57:49 UTC