[Boost-bugs] [Boost C++ Libraries] #8497: lexical_cast doesn't compile with Android NDK toolchain

Subject: [Boost-bugs] [Boost C++ Libraries] #8497: lexical_cast doesn't compile with Android NDK toolchain
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-25 18:14:10


#8497: lexical_cast doesn't compile with Android NDK toolchain
------------------------------------------+---------------------------------
 Reporter: viktor.govako@… | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
------------------------------------------+---------------------------------
 Trying to compile lexical_cast with the Android NDK r8d.

 #include <stdint.h>
 #include <boost/lexical_cast.hpp>
 #include <string>

 int main()
 {
   uint64_t x = 1;
   std::string s = boost::lexical_cast<std::string>(x);
   return 0;
 }

 Shows error in boost/detail/endian.hpp
 "The file boost/detail/endian.hpp needs to be set up for your CPU type."

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