boost::filesystem changes since version 1.55.0
I have tried to upgrade our software from using boost 1.55.0 to 1.57.0. Now we're getting unexpected exceptions in our code using filesystem::recursive_directory_iterator. Checking http://www.boost.org/users/history/version_1_56_0.html or http://www.boost.org/users/history/version_1_57_0.html there are no changes concerning boost::filesystem. Is there somebody who can tell me what has been changed in boost::filesystem, versions 1.56 and 1.57, and what impact it has on existing code or what I have to adapt to fix our software? Regards, Armin Pies
On Fri, Dec 5, 2014 at 7:19 AM, Armin Pies
I have tried to upgrade our software from using boost 1.55.0 to 1.57.0.
Now we're getting unexpected exceptions in our code using filesystem::recursive_directory_iterator.
Checking http://www.boost.org/users/history/version_1_56_0.html or http://www.boost.org/users/history/version_1_57_0.html there are no changes concerning boost::filesystem.
Is there somebody who can tell me what has been changed in boost::filesystem, versions 1.56 and 1.57, and what impact it has on existing code or what I have to adapt to fix our software?
See http://www.boost.org/doc/libs/1_57_0/libs/filesystem/doc/release_history.htm... 1.56.0 included reorganization and fixes for recursive_directory_iterator::increment. When you say you are getting "unexpected exceptions", do you mean exceptions you didn't expect that are correctly reporting actual errors or exceptions you didn't expect that are incorrectly reporting errors even though no error actually occurred? Thanks, --Beman
On December 8, 2014 1:39:41 PM EST, Beman Dawes
See http://www.boost.org/doc/libs/1_57_0/libs/filesystem/doc/release_history.htm...
I can't figure out where to find that page from the start of the filesystem docs. Which links must one follow to find that page? ___ Rob (Sent from my portable computation engine)
On Mon, Dec 8, 2014 at 11:56 AM, Rob Stewart
On December 8, 2014 1:39:41 PM EST, Beman Dawes
wrote: See http://www.boost.org/doc/libs/1_57_0/libs/filesystem/doc/release_history.htm...
I can't figure out where to find that page from the start of the filesystem docs. Which links must one follow to find that page?
It's under "Releases" in the navigation bar at the top (second from the left). -kyle
On December 8, 2014 3:10:22 PM EST, Kyle Lutz
On Mon, Dec 8, 2014 at 11:56 AM, Rob Stewart
wrote: On December 8, 2014 1:39:41 PM EST, Beman Dawes
wrote: See http://www.boost.org/doc/libs/1_57_0/libs/filesystem/doc/release_history.htm...
I can't figure out where to find that page from the start of the filesystem docs. Which links must one follow to find that page?
It's under "Releases" in the navigation bar at the top (second from the left).
Oh, I see. I was only looking at the links on the right. Having two sets of links is a bit confusing. ___ Rob (Sent from my portable computation engine)
Hi Beman.
In the meantime I have found the documentation you have mentioned and it lead to my work-around I have already mentioned.
Nevertheless the documentation just states that something was changed but not that I have to adapt existing code.
These "unexpected" exceptions in the operator++ are correct ("no such file or directory") but they were not thrown before boost version 1.56.
So I have made a work-around using the increment(error_code) method, just ignoring the resulting error code.
By the way, these "new" exceptions in the operator++ have only occurred under Linux (gcc 4.8.2) but not under Windows (vc++ 12.0).
Regards,
Armin
-----Ursprüngliche Nachricht-----
Von: Boost [mailto:boost-bounces@lists.boost.org] Im Auftrag von Beman Dawes
Gesendet: Montag, 8. Dezember 2014 19:40
An: Boost Developers List
Betreff: Re: [boost] boost::filesystem changes since version 1.55.0
On Fri, Dec 5, 2014 at 7:19 AM, Armin Pies
I have tried to upgrade our software from using boost 1.55.0 to 1.57.0.
Now we're getting unexpected exceptions in our code using filesystem::recursive_directory_iterator.
Checking http://www.boost.org/users/history/version_1_56_0.html or http://www.boost.org/users/history/version_1_57_0.html there are no changes concerning boost::filesystem.
Is there somebody who can tell me what has been changed in boost::filesystem, versions 1.56 and 1.57, and what impact it has on existing code or what I have to adapt to fix our software?
See http://www.boost.org/doc/libs/1_57_0/libs/filesystem/doc/release_history.htm... 1.56.0 included reorganization and fixes for recursive_directory_iterator::increment. When you say you are getting "unexpected exceptions", do you mean exceptions you didn't expect that are correctly reporting actual errors or exceptions you didn't expect that are incorrectly reporting errors even though no error actually occurred? Thanks, --Beman _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (4)
-
Armin Pies
-
Beman Dawes
-
Kyle Lutz
-
Rob Stewart