[1.35] filesystem: missing #include <boost/filesystem/cerrno.hpp> ?

When building filesystem in a using an MSVC 9.0 IDE project I encounter compilation errors when compiling libs/filesystem/src/exception.cpp when it tries to: #include <boost/filesystem/cerrno.hpp> on line 19. The above header doesn't seem to be present in my unpacked 1.35.0 tar.gz. Am I missing something obvious here? Thanks, Mat

Mat Marcus <mat-lists <at> emarcus.org> writes:
When building filesystem in a using an MSVC 9.0 IDE project I encounter compilation errors when compiling libs/filesystem/src/exception.cpp
Ah, yes - I faced this yesterday. exception.cpp is obsolete and should be removed, since now boost.system is used for custom error handling. At least that's what I did and everything built fine... Best Amit

Amit wrote:
Mat Marcus <mat-lists <at> emarcus.org> writes:
When building filesystem in a using an MSVC 9.0 IDE project I encounter compilation errors when compiling libs/filesystem/src/exception.cpp
Ah, yes - I faced this yesterday. exception.cpp is obsolete and should be removed, since now boost.system is used for custom error handling. At least that's what I did and everything built fine...
That's exactly right. I simply forgot to remove it. --Beman
participants (3)
-
Amit
-
Beman Dawes
-
Mat Marcus