Re: [Boost-bugs] [Boost C++ Libraries] #7260: Header order conflicts between Thread and ASIO

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7260: Header order conflicts between Thread and ASIO
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-18 17:20:53


#7260: Header order conflicts between Thread and ASIO
---------------------------------------+------------------------------------
  Reporter: joshuadavidson@… | Owner: chris_kohlhoff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------+------------------------------------
Changes (by viboes):

  * owner: => chris_kohlhoff
  * version: Boost 1.52.0 => Boost 1.51.0
  * component: None => asio

Comment:

 I don't know if Boost.Asio should define WIN32_WINNT when WIN32_WINNT is
 defined but _WIN32_WINDOWS is undefined.


 {{{
 # if !defined(_WIN32_WINNT) && !defined(_WIN32_WINDOWS)
 # if defined(_MSC_VER) || defined(__BORLANDC__)
 # pragma message( \
   "Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For
 example:\n"\
   "- add -D_WIN32_WINNT=0x0501 to the compiler command line; or\n"\
   "- add _WIN32_WINNT=0x0501 to your project's Preprocessor
 Definitions.\n"\
   "Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target).")
 # else // defined(_MSC_VER) || defined(__BORLANDC__)
 # warning Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately.
 # warning For example, add -D_WIN32_WINNT=0x0501 to the compiler command
 line.
 # warning Assuming _WIN32_WINNT=0x0501 (i.e. Windows XP target).
 # endif // defined(_MSC_VER) || defined(__BORLANDC__)
 # define _WIN32_WINNT 0x0501
 # endif // !defined(_WIN32_WINNT) && !defined(_WIN32_WINDOWS)
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7260#comment:2>
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 : 2017-02-16 18:50:10 UTC