Skip to content

fix build for boost 1.85 - #123

Open
Schievel1 wants to merge 1 commit into
scottdraves:masterfrom
Schievel1:fix-boost-1.85
Open

Schievel1 wants to merge 1 commit into
scottdraves:masterfrom
Schievel1:fix-boost-1.85

Conversation

@Schievel1

@Schievel1 Schievel1 commented Oct 10, 2024

Copy link
Copy Markdown
Contributor

boost 1.85 removed the convenience.hpp header.
Also boost::filesystem::extension does not exist anymore.

In order not to break builds with older boost, I included the corresponding header file conditionally an the boost version. Conveniently this is available in /usr/include/boost/version.hpp

I built this against boost 1.85 and 1.84 to make sure it is working.

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant