Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #include <algorithm> to fix building with gcc 14 #1055

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Add #include <algorithm> to fix building with gcc 14 #1055

merged 1 commit into from
Nov 24, 2023

Conversation

kostadinsh
Copy link

With gcc 14 some C++ Standard Library headers have been changed to no longer include other headers that were used internally by the library. In libdatachannel's case it is the <algorithm> header.

GCC 14 porting guide: https://gcc.gnu.org/gcc-14/porting_to.html#header-dep-changes

With gcc 14 some C++ Standard Library headers have been changed to no
longer include other headers that were used internally by the library.
In libdatachannel's case it is the <algorithm> header.

GCC 14 porting guide: https://gcc.gnu.org/gcc-14/porting_to.html#header-dep-changes

Signed-off-by: Kostadin Shishmanov <[email protected]>
Copy link
Owner

@paullouisageneau paullouisageneau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@paullouisageneau paullouisageneau merged commit 499398a into paullouisageneau:master Nov 24, 2023
11 checks passed
@kostadinsh kostadinsh deleted the gcc-14 branch November 24, 2023 19:27
paullouisageneau added a commit that referenced this pull request Jan 7, 2024
Add #include <algorithm> to fix building with gcc 14
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