Re: [Boost-bugs] [Boost C++ Libraries] #11541: Building with /Zc:wchar_t- on VC causes errors in boost::log since 1.59.0

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11541: Building with /Zc:wchar_t- on VC causes errors in boost::log since 1.59.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-23 17:39:35


#11541: Building with /Zc:wchar_t- on VC causes errors in boost::log since 1.59.0
-------------------------------+------------------------
  Reporter: dd0t@… | Owner: andysem
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: log
   Version: Boost 1.59.0 | Severity: Regression
Resolution: fixed | Keywords:
-------------------------------+------------------------
Changes (by andysem):

 * status: new => closed
 * resolution: => fixed

Comment:

 Fixed in
 https://github.com/boostorg/log/commit/44ef1095051f389931693f5117e404ffe22b9a56.

 To answer your question about emulated `wchar_t` support, I don't think
 there's much will to support it as this behavior is non-conforming (read:
 adds unnecessary problems) and can be relatively easily fixed with a
 compiler switch. Boost itself is built with the native `wchar_t` enabled,
 and this has been so for many years. Additionally, there are no testers
 with emulated `wchar_t`, so expect breakages.

 With respect to Boost.Log, the emulated `wchar_t` is problematic as it
 makes certain parts of the library behave differently than normal. I added
 a note to the docs stating that. For now I fixed the compilation but in
 the future I may remove support for emulated `wchar_t` completely. I
 highly recommend switching to the native `wchar_t`.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11541#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:18 UTC