-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Build failure with GCC 15 (C23) #3206
Comments
Line 14 in 8619f8a
Are you sure the build failure isn't just caused by you forcing |
I don't have it in CFLAGS, it's the default for GCC 15. See also: https://inbox.sourceware.org/gcc-cvs/20241115234634.9D1633858CDA@sourceware.org/T/#u |
I missed that link, it doesn't look like you are adding it in CFLAGS |
@kostadinsh I know gcc changed the default, but that link doesn't say anything useful. Also adding It looks like |
Describe the bug
jq fails to build with upcoming GCC 15 that defaults to C23. This can be reproduced on older GCC and Clang versions by adding
-std=gnu23
to CFLAGS.Downstream Gentoo bug: https://bugs.gentoo.org/944014
Environment (please complete the following information):
Above are just some of the errors the rest are in the build log that's attached
build.log
The text was updated successfully, but these errors were encountered: