You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fails to build on Arch Linux without -Wno-discarded-qualifiers #2995
Fail to build on Arch Linux without -Wno-discarded-qualifiers.
With the extra cflag above it can build successfully. But I'm not sure if I should suppress the warning blindly.
A rough Googling shows that -Wno-discarded-qualifiers was introduced in GCC 5 which is released roughly 10 years ago. I believe that ruled out Arch Linux being too bleeding edge... Or maybe it is?
Also: cc1plus: note: unrecognized command-line option ‘-Wno-c11-extensions’ may have been intended to silence earlier diagnostics
-Wno-c11-extensions is unrecognized by GCC (it's a Clang flag). This doesn't cause failure but indicates the build system expects Clang. If you're building with GCC, this is expected noise.
Anyway, it's a different issue and you might want to dive a bit deeper (or open a new issue?) to find out why there is a Clang flag in a GCC build environment. Could be hard-coded, could be in the build environment.
Activity
edmundlod commentedon Feb 15, 2026
Reproducible:
Not sure if correct, but fixed with:
Ra2-IFV commentedon Feb 15, 2026
Also:
cc1plus: note: unrecognized command-line option ‘-Wno-c11-extensions’ may have been intended to silence earlier diagnosticsedmundlod commentedon Feb 16, 2026
-Wno-c11-extensionsis unrecognized by GCC (it's a Clang flag). This doesn't cause failure but indicates the build system expects Clang. If you're building with GCC, this is expected noise.Anyway, it's a different issue and you might want to dive a bit deeper (or open a new issue?) to find out why there is a Clang flag in a GCC build environment. Could be hard-coded, could be in the build environment.
Ra2-IFV commentedon Feb 16, 2026
Here
aws-lc/CMakeLists.txt
Lines 500 to 510 in 36c64dc
I don't remember I have this warning in my last build, lol
Ra2-IFV commentedon Feb 18, 2026
PR #3007
justsmth commentedon Feb 18, 2026
Hello! Sorry, I hadn't noticed this Issue sooner. I'm taking a look.
justsmth commentedon Feb 18, 2026
I posted a PR that I think will address this build failure: #3008
Fix OPENSSL_memchr per C23 (#3008)
5long commentedon Feb 21, 2026
@justsmth big thanks for the timely fix!
apacheGH-49601: [C++] Update bundled AWS SDK C++ for C23
apacheGH-49601: [C++] Update bundled AWS SDK C++ for C23
GH-49601: [C++] Update bundled AWS SDK C++ for C23 (#49604)
apacheGH-49601: [C++] Update bundled AWS SDK C++ for C23 (apache#49604)
apacheGH-49601: [C++] Update bundled AWS SDK C++ for C23 (apache#49604)
[CHERYPICK FIPS 4.0]Fix OPENSSL_memchr per C23 (#3008) (#3291)