[Boost-bugs] [Boost C++ Libraries] #6159: lexical_cast in 1.48 will not compile on platforms without cwchar

Subject: [Boost-bugs] [Boost C++ Libraries] #6159: lexical_cast in 1.48 will not compile on platforms without cwchar
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-22 00:19:09


#6159: lexical_cast in 1.48 will not compile on platforms without cwchar
-----------------------------------------------+----------------------------
 Reporter: justin.viiret@… | Owner: nasonov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: lexical_cast cwchar wchar_t |
-----------------------------------------------+----------------------------
 Boost 1.48 added an include of the <cwchar> header in lexical_cast.hpp,
 and this breaks compilation on platforms that don't provide it (such as
 VxWorks).

 It looks like Boost has a macro for handling this case already, so my
 guess is that this is fixable by just wrapping the include in a check for
 BOOST_NO_CWCHAR. A patch is attached that works for me.

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