|
Boost : |
Subject: Re: [boost] [test] sigaltstack does not work on older Android
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2012-09-01 22:43:27
Jan Hudec <bulb <at> ucw.cz> writes:
>
> Hello Folks,
>
> Android NDK contains several "platforms", depending on which release one
> desires to be compatible with. Boost test compiles fine with android-8 and
> newer, but the older versions have incomplete definition of sigaltstack
> (they define the structure, but not the function), causing compilation
> error in
> 3. Being really precise and reading the API version, but that requires
> including extra header. It would be nice, but I am not sure what is the
> correct place to include it.
You should include one in execution_monitor.ipp under ifdef __ANDROID__
similarly where all other headers included.
> Here is a simple patch that just disables sigaltstack for Android:
Please submit Trac item, otherwise it'll never get applied.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk