Re: [Boost-bugs] [Boost C++ Libraries] #12948: Unexpected snprintf result is on Android ARM

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12948: Unexpected snprintf result is on Android ARM
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-04-06 12:59:43


#12948: Unexpected snprintf result is on Android ARM
------------------------------------+----------------------
  Reporter: Lev Sch <zorechfan@…> | Owner: olli
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: context
   Version: Boost 1.64.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------+----------------------

Comment (by olli):

 I assume you did not fetch the latest version - in test_fcontext.cpp
 std::snprintf is replaced by snprintf (+stdio.h).
 In the case of test_callcc.cpp I'm surprised because test_callcc.cpp
 should only be compiled if C++11 is enabled. std::snprintf is contained in
 cstdio as described here: http://en.cppreference.com/w/cpp/io/c/fprintf

 So to correct this: could you replace std::snprintf by snprintf and re-
 compile both files, please?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12948#comment:26>
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-04-06 13:02:32 UTC