[Boost-bugs] [Boost C++ Libraries] #7716: Fix issue with PAGE_SIZE undeclared on Android

Subject: [Boost-bugs] [Boost C++ Libraries] #7716: Fix issue with PAGE_SIZE undeclared on Android
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-20 14:44:20


#7716: Fix issue with PAGE_SIZE undeclared on Android
----------------------------------------------------------+-----------------
 Reporter: Morten Videbæk Pedersen <morten@…> | Owner: anthonyw
     Type: Patches | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
----------------------------------------------------------+-----------------
 Compiling boost::thread in boost 1.52.0 results in the following error:
 {{{
 /boost-lib/boost/thread/pthread/thread_data.hpp: In member function 'void
 boost::thread_attributes::set_stack_size(std::size_t)':
 /boost-lib/boost/thread/pthread/thread_data.hpp:49:20: error: 'PAGE_SIZE'
 was not declared in this scope
 }}}

 The problem can be tracked to the following issue:
 http://code.google.com/p/android/issues/detail?id=39983

 The workaround is for Android to manually include the asm/page.h header.
 See attached patch.

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