Re: [Boost-bugs] [Boost C++ Libraries] #10822: Boost.Thread fails to compile on Android

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10822: Boost.Thread fails to compile on Android
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-27 17:49:13


#10822: Boost.Thread fails to compile on Android
---------------------------+-------------------------
  Reporter: ned14 | Owner: ned14
      Type: Bugs | Status: new
 Milestone: Boost 1.58.0 | Component: thread
   Version: Boost 1.57.0 | Severity: Showstopper
Resolution: | Keywords:
---------------------------+-------------------------

Comment (by ned14):

 Replying to [comment:1 viboes]:
> Yes, please take care of this issue. what about checking for an Android
 version?

 It seems that some NDKs pull in a definition and some require you to pull
 in that asm/page.h header because it basically got left out by accident
 for a few NDK revisions. Android 5.0 seems to have fixed the problem, and
 now system headers define PAGE_SIZE like the oldest NDKs did.

 Hence me thinking a simple #ifndef PAGE_SIZE as all current Android
 hardware has 4k page sizes.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10822#comment:2>
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:17 UTC