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

[Minor] Add missing <algorithm> include for gcc 14 #4675

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

arkamar
Copy link
Contributor

@arkamar arkamar commented Nov 1, 2023

This commit addresses a compilation issue when using GCC 14. According to GCC 14's porting guide, some C++ Standard Library headers no longer include other headers they used to use internally. Specifically, <algorithm> must now be explicitly included.

The issue was first reported in Gentoo Bug 916438

This commit addresses a compilation issue when using GCC 14. According
to GCC 14's porting guide [1], some C++ Standard Library headers no
longer include other headers they used to use internally. Specifically,
<algorithm> must now be explicitly included.

[1] https://gcc.gnu.org/gcc-14/porting_to.html

See-also: https://bugs.gentoo.org/916438
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
@vstakhov vstakhov merged commit ca58b3a into rspamd:master Nov 1, 2023
1 check was pending
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