Skip to content

Add #include <stdint.h> to fix building with gcc 15#1720

Merged
vegorov-rbx merged 2 commits intoluau-lang:masterfrom
kostadinsh:gcc15
Mar 10, 2025
Merged

Add #include <stdint.h> to fix building with gcc 15#1720
vegorov-rbx merged 2 commits intoluau-lang:masterfrom
kostadinsh:gcc15

Conversation

@kostadinsh
Copy link
Contributor

@kostadinsh kostadinsh commented Mar 9, 2025

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

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 vegorov-rbx changed the title Add #include <cstdint> to fix building with gcc 15 Add #include <stdint.h> to fix building with gcc 15 Mar 10, 2025
Copy link
Collaborator

@vegorov-rbx vegorov-rbx left a comment

Choose a reason for hiding this comment

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

Thank you

@vegorov-rbx vegorov-rbx merged commit b0c3f40 into luau-lang:master Mar 10, 2025
7 checks passed
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>
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