Boost logo

Boost Users :

Subject: Re: [Boost-users] [filesystem] Strange "Function not implemented" exception from directory_iterator
From: Edward Diener (eldiener_at_[hidden])
Date: 2017-07-27 22:57:23


On 7/27/2017 4:49 PM, Robert Dailey via Boost-users wrote:
> Anyone have any advice on this issue?

Please do not top post.

>
> On Tue, Jul 25, 2017 at 4:34 PM, Robert Dailey <rcdailey.lists_at_[hidden]> wrote:
>> I'm using a recursive_directory_iterator on an Android ARM device
>> (armeabi-v7a, clang compiler, API 15, LLVM STL). The exception I get
>> comes from directory_iterator_increment in operations.cpp (when it
>> does the dir_itr_increment() call and checks the `temp_ec` variable,
>> there is a throw below that).
>>
>> The what() of the exception says:
>>
>> boost::filesystem::directory_iterator::operator++: Function not
>> implemented: "/data/ziosk/content/Common/DemoMode/font"
>>
>> I doubt this is a permissions issue. Which function is not
>> implemented? Is this a POSIX / LIBC issue? I have no idea at this
>> point...

In the source code for operations.cpp in the
directory_iterator_increment function you can see where the exception is
being thrown. After building filesystem, try tracing into the above
function to see what is going on.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net