Opened 10 years ago
Closed 10 years ago
#7716 closed Patches (fixed)
Fix issue with PAGE_SIZE undeclared on Android
| Reported by: | Owned by: | viboes | |
|---|---|---|---|
| Milestone: | Boost 1.53.0 | Component: | thread |
| Version: | Boost 1.52.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
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.
Attachments (1)
Change History (3)
by , 10 years ago
| Attachment: | 0001-Fixes-issues-with-missing-include-on-Android.patch added |
|---|
comment:1 by , 10 years ago
| Milestone: | To Be Determined → Boost 1.53.0 |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
comment:2 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Committed revision [81667].
Note:
See TracTickets
for help on using tickets.

Committed in trunk [81490].