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

fix for error: ‘size_t’ does not name a type #6721

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

smash-cracker
Copy link
Contributor

@smash-cracker smash-cracker commented Feb 14, 2025

FIX(client): Build error with make -j$(nproc) note: ‘size_t’ is defined in header ‘’;

Copy link
Member

@Krzmbrzl Krzmbrzl left a comment

Choose a reason for hiding this comment

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

Please adapt your commit to follow our commit guidelines and don't introduce any formatting changes unrelated to your commit.

@davidebeatrici
Copy link
Member

don't introduce any formatting changes unrelated to your commit.

It's not his fault, any recent clang-format version formats the file like this (which is correct):

-	AudioPreprocessor(const AudioPreprocessor &) = delete;
+	AudioPreprocessor(const AudioPreprocessor &)            = delete;
 	AudioPreprocessor &operator=(const AudioPreprocessor &) = delete;

In #6511 I simply edited the line manually in order for CI to pass.

The building failed with the error `'size_t' does not name a type'` due to a missing `<cstddef>` include.

This commit adds the necessary header to ensure `size_t` is properly recognized.
@Krzmbrzl Krzmbrzl merged commit e8d8880 into mumble-voip:master Feb 20, 2025
15 checks passed
@Krzmbrzl
Copy link
Member

Thanks for fixing this 👍

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.

4 participants