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 #2899

Merged
merged 1 commit into from Nov 16, 2023
Merged

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

merged 1 commit into from Nov 16, 2023

Conversation

kostadinsh
Copy link
Contributor

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 gerbera's case it is the <algorithm> header.

Downstream gentoo bug

GCC 14 porting guide

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 gerbera's case it is the <algorithm> header.

Downstream Gentoo bug: https://bugs.gentoo.org/917136

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

Closes: #2897

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
@KarlStraussberger KarlStraussberger merged commit 5664ad1 into gerbera:master Nov 16, 2023
12 checks passed
@KarlStraussberger
Copy link
Member

Thank you for supplying this.

@kostadinsh
Copy link
Contributor Author

Thank you for supplying this.

You are welcome :-)

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.

None yet

2 participants