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

Merged
merged 1 commit into from
Nov 16, 2023
Merged

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

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

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

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

Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
@vegorov-rbx vegorov-rbx merged commit 0492ecf into luau-lang:master Nov 16, 2023
7 checks passed
@vegorov-rbx
Copy link
Collaborator

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants