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-05-04 20:04:19
#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 ramey):
So the actual bug is this 'ifndef'.
Why it was placed here? Most likely by mistake.
nope - removing it will result in compile errors on platforms which don't
define wchar_t
according to documentation on boost.config, BOOST_NO_CWCHAR is meant to
indicate that the platform doesn't have headers for <wchar.h> and
<cwchar> so that's not a great choice either
And... If we remove the
remove #ifndef BOOST_NO_INTRINSIC_WCHAR_T
everything (including /Zc:wchar_t and /Zc:wchar_t- configurations)
compiles fine.
I can't see how this would actually work
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12243#comment:4> 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-05-04 20:09:18 UTC