Skip to content

fix more c++17 that made it in - #8869

Open
bkuhls wants to merge 1 commit into
arvidn:RC_2_1from
bkuhls:fix-cxx14
Open

bkuhls wants to merge 1 commit into
arvidn:RC_2_1from
bkuhls:fix-cxx14

Conversation

@bkuhls

@bkuhls bkuhls commented Sep 14, 2026

Copy link
Copy Markdown

Patch was inspired by #4805 and fixes a build error with gcc-9.3.0

buildroot/output/build/libtorrent-rasterbar-2.1.1/src/torrent_info.cpp:855:16:
 error: function ‘libtorrent::torrent_info& libtorrent::torrent_info::operator=(libtorrent::torrent_info&&)’
 defaulted on its redeclaration with an exception-specification that
 differs from the implicit exception-specification ‘’

Patch was inspired by arvidn#4805
and fixes a build error with gcc-9.3.0

buildroot/output/build/libtorrent-rasterbar-2.1.1/src/torrent_info.cpp:855:16:
 error: function ‘libtorrent::torrent_info& libtorrent::torrent_info::operator=(libtorrent::torrent_info&&)’
 defaulted on its redeclaration with an exception-specification that
 differs from the implicit exception-specification ‘’

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
@semanticdiff-com

Copy link
Copy Markdown

Review changes with  SemanticDiff

@arvidn

arvidn commented Sep 14, 2026

Copy link
Copy Markdown
Owner

what version of C++ are you enabling when you get that build error? I don't think this is a good change. the RC_2_1 branch requires C++17

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.

2 participants