Subject: [boost] Boost.iostreams on Android - Fails on multichar input filters
From: Sukender (suky0001_at_[hidden])
Date: 2013-01-10 11:26:35
I found iostreams "filtering_stream_test" to fail under Android (32 bits, gcc 4.6, boost 1.52.0) :
Running 18 test cases...
read_input_filter_test.hpp(88): error in "read_input_filter_test": failed reading from a filtering_istream in chars with a multichar input filter
read_input_filter_test.hpp(101): error in "read_input_filter_test": failed reading from a filtering_istream in chunks with a multichar input filter
Note : I ran some tests by compiling on the host machine (64-bits Linux), then manually copying/running on the (emulator) device (using "adb push" / "adb shell").
I know Android is not actively maintained, but I need multichar filters (gzip_compressor & gzip_decompressor are multichar and thus fail). And I wonder why this test fails.
I could not run the regression test on iOS, but my original code (using gzip_decompressor) works as expected under iOS, and Windows, and MacOSX.
I have no clue about how to solve the issue. Any idea?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk