Closed userdocs closed 2 years ago
@arvidn So i tested this patch and there was no error. Build was a normal successful build.
https://patch-diff.githubusercontent.com/raw/arvidn/libtorrent/pull/6973.patch
closed with https://github.com/arvidn/libtorrent/pull/6973
Needs to be in branch 1_2 as well though.
Thanks!
Please provide the following information
libtorrent version (or branch): 2.0.7 / 1.2.17
platform/architecture: Ubuntu Jammy amd64
compiler and compiler version: gcc 11
please describe what symptom you see, what you would expect to see instead and how to reproduce it.
Following on from the discussion as I made a reproduceable docker + bash method to show it you error.
Do this with docker.
And you will see this error
I think i have some understanding of the issue based on this pull
https://github.com/userdocs/libtorrent/commit/22adfb33e76dc820dec78b07e7221358e6e246f3
But it has one problem, this will be true when it should be false when
JAM_VERSION = 4 0 0
i guess since 4 is less that 2018?I could not find a method to get the boost version itself though I do know it is in the
/boost/version.hpp
/include/version.hpp
which would make for a more consistent check?So any version prior or 1.72.0 (4.0.0) will uses the format
2018 02
whereas theBOOST_LIB_VERSION
formant is consistent,