[Boost-bugs] [Boost C++ Libraries] #7116: Conversion from float/double to string gives C4996 warning in VS2010

Subject: [Boost-bugs] [Boost C++ Libraries] #7116: Conversion from float/double to string gives C4996 warning in VS2010
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-10 18:28:16


#7116: Conversion from float/double to string gives C4996 warning in VS2010
-------------------------------+--------------------------------------------
 Reporter: sebi707@… | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost 1.50.0 | Severity: Cosmetic
 Keywords: |
-------------------------------+--------------------------------------------
 If I try to convert a float or double to std::string using the new 1.50.0
 version I get very long warning in VS2010.

 Minimal example:

 {{{
 #include <iostream>
 #include <boost/lexical_cast.hpp>

 using namespace std;

 int main()
 {
   cout << boost::lexical_cast<string>(3.1415f) << endl;
 }
 }}}

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