Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12243: Boost.Serialization compilation error in Visual Studio with Zc:wchar_t-
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-06 12:32:12
#12243: Boost.Serialization compilation error in Visual Studio with Zc:wchar_t-
-------------------------------+---------------------------
Reporter: anonymous | Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.61.0 | Severity: Showstopper
Resolution: | Keywords:
-------------------------------+---------------------------
Comment (by anonymous):
I couldn't modify the bug description, so I placed additional info in the
follow-up comment, so please read it.
In short, you should replace the uses of
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
with
#ifndef BOOST_NO_CWCHAR
in several headers. (Othervise some functions for wchar_t will not be
declared in /Zc:wchar_t- configuration.)
Such replacement would be consistent with other function declarations
across boost, where type wchar_t is required (whether intrinsic of
typedef'd). The macro BOOST_NO_INTRINSIC_WCHAR_T in these headers was used
incorrectly, because the BOOST_NO_CWCHAR was actually meant.
The configuration /Zc:wchar_t- seems not to be properly tested in boost,
as can be concluded from existence of this bug.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12243#comment:5> 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-06-06 12:35:33 UTC