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

Remove GCC's -Wunsuffixed-float-constants from warnings #14156

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

drobilla
Copy link
Contributor

This inclusion was a misunderstanding on my part: this warning isn't generally applicable to standard C (it prevents using double literals whatsoever since C doesn't have a suffix for them), but exists to support a GNU C extension. It also has no counterpart in clang. So, remove it, since warning_level=everything doesn't include such things.

This inclusion was a misunderstanding on my part: this warning isn't generally
applicable to standard C (it prevents using double literals whatsoever since C
doesn't have a suffix for them), but exists to support a GNU C extension.  It
also has no counterpart in clang.  So, remove it, since
warning_level=everything doesn't include such things.
@drobilla drobilla requested a review from dcbaker as a code owner January 18, 2025 18:41
@bonzini bonzini added this to the 1.7 milestone Jan 19, 2025
@eli-schwartz eli-schwartz merged commit 373d1fe into mesonbuild:master Jan 20, 2025
29 of 31 checks passed
@drobilla
Copy link
Contributor Author

Thanks, @eli-schwartz

I was meaning to look into those test failures, but it's not immediately obvious to me what went wrong. Spurious?

@eli-schwartz
Copy link
Member

Fixed on git master for opensuse, the cygwin one fails everywhere but seemingly because cygwin packages a too-old version of Vala, as commented here: #13304 (comment)

In theory fixable if someone steps up to maintain vala on Cygwin (hahahahahahaha).

@drobilla drobilla deleted the unsuffixed-float-constants branch January 20, 2025 23:21
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.

3 participants