Re: [Boost-bugs] [Boost C++ Libraries] #10047: Using Boost:Interprocess on Android

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10047: Using Boost:Interprocess on Android
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-16 01:47:33


#10047: Using Boost:Interprocess on Android
-------------------------------+-----------------------------------
  Reporter: anonymous | Owner: Ion Gaztañaga
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords: Android message_queue
-------------------------------+-----------------------------------

Comment (by anonymous):

 I solved it by revision the file
 **'interprocess/detail/shared_dir_helpers.hpp'**
 line 109
 to change the dir_path to an existed dir (for me, it's /data) in
 get_shared_dir_root()

     #elif defined __ANDROID__
         dir_path="/data"
     #else
         dir_path="/tmp"

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/10047#comment:3>
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 : 2018-03-16 01:52:35 UTC