Opened 9 years ago
Closed 7 years ago
#9454 closed Bugs (fixed)
Boost Filesystem not compiling when BOOST_FILESYSTEM_NO_DEPRECATED is defined
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | filesystem |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
If you define BOOST_FILESYSTEM_NO_DEPRECATED in the boost/config/user.hpp Boost Filesystem Library fails to compile emitting error from boost/filesystem/path.hpp(476): both BOOST_FILESYSTEM_DEPRECATED and BOOST_FILESYSTEM_NO_DEPRECATED are defined
I suggest to undefine BOOST_FILESYSTEM_NO_DEPRECATED when BOOST_FILESYSTEM_SOURCE is defined in boost/filesystem/config.hpp
Best regards, Maksim.
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | config.hpp.patch added |
---|
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch pushed to develop branch. Will merge to master once enough regression tests have cycled.
Thanks,
--Beman
Note:
See TracTickets
for help on using tickets.
The issue still exists in Boost 1.58.0