Subject: [Boost-bugs] [Boost C++ Libraries] #7228: Bugs: #warning in lexical_cast.hpp causes MSVC compile error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-14 10:10:16
#7228: Bugs: #warning in lexical_cast.hpp causes MSVC compile error
-------------------------------+--------------------------------------------
Reporter: ldc@⦠| Owner: apolukhin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
Version: Boost 1.50.0 | Severity: Regression
Keywords: |
-------------------------------+--------------------------------------------
In lexical_cast.hpp
# warning "Unable to use <locale> header. boost::lexical_cast will use the
'C' locale."
is not portable and doesn't compile on MSVC.
This is quite similar to https://svn.boost.org/trac/boost/ticket/3629
boost/chrono/config.hpp likely suffers from the same issue.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7228> 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