Add #include <stdint.h> to fix building with gcc 15#1720
Merged
vegorov-rbx merged 2 commits intoluau-lang:masterfrom Mar 10, 2025
Merged
Add #include <stdint.h> to fix building with gcc 15#1720vegorov-rbx merged 2 commits intoluau-lang:masterfrom
vegorov-rbx merged 2 commits intoluau-lang:masterfrom
Conversation
With gcc 15, the C++ Standard Library no longer includes other headers that were internally used by the library. In luau's case the missing header is <cstdint> Downstream Gentoo bug: https://bugs.gentoo.org/938122 Signed-off-by: Kostadin Shishmanov <kostadinshishmanov@protonmail.com>
gentoo-bot
pushed a commit
to gentoo/gentoo
that referenced
this pull request
Mar 10, 2025
Bug: luau-lang/luau#1720 Closes: https://bugs.gentoo.org/938122 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
vegorov-rbx
reviewed
Mar 10, 2025
vrn-sn
added a commit
that referenced
this pull request
Mar 21, 2025
Another week, another release. Happy spring! 🌷 ## New Type Solver - Add typechecking and autocomplete support for user-defined type functions! - Improve the display of type paths, making type mismatch errors far more human-readable. - Enhance various aspects of the `index` type function: support function type metamethods, fix crashes involving cyclic metatables, and forward `any` types through the type function. - Fix incorrect subtyping results involving the `buffer` type. - Fix crashes related to typechecking anonymous functions in nonstrict mode. ## AST - Retain source information for type packs, functions, and type functions. - Introduce `AstTypeOptional` to differentiate `T?` from `T | nil` in the AST. - Prevent the transpiler from advancing before tokens when the AST has errors. ## Autocomplete - Introduce demand-based cloning and better module isolation for fragment autocomplete, leading to a substantial speedup in performance. - Guard against recursive unions in `autocompleteProps`. ## Miscellaneous - #1720 (thank you!) ## Internal Contributors Co-authored-by: Andy Friesen <afriesen@roblox.com> Co-authored-by: Ariel Weiss <aaronweiss@roblox.com> Co-authored-by: Hunter Goldstein <hgoldstein@roblox.com> Co-authored-by: Talha Pathan <tpathan@roblox.com> Co-authored-by: Vighnesh Vijay <vvijay@roblox.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With gcc 15, the C++ Standard Library no longer includes other headers that were internally used by the library. In Luau's case the missing header is
<stdint.h>Downstream Gentoo bug: https://bugs.gentoo.org/938122
Signed-off-by: Kostadin Shishmanov kostadinshishmanov@protonmail.com