Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 880545 (c23-porting)

Summary: [Tracker] Packages which will fail with -std=c2x (likely C23) (-Werror=deprecated-non-prototype)
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: CONFIRMED ---    
Severity: normal CC: kangie
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=870412
https://github.com/llvm/llvm-project/issues/60592
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108694
Whiteboard: Packages blocking this tracker will fail with -std=c2x (when that becomes default in a few years), maybe sooner
Package list:
Runtime testing required: ---
Bug Depends on: 831308, 871018, 880329, 880331, 880333, 880363, 880369, 880383, 880387, 880389, 880397, 880399, 880407, 880409, 880417, 880431, 880433, 880435, 880439, 880457, 880481, 880483, 880485, 880487, 880489, 880503, 880505, 880507, 880509, 880525, 880529, 880531, 880535, 880537, 880831, 881829, 881865, 881867, 881953, 881967, 881971, 881975, 881977, 881981, 881985, 881987, 881991, 882013, 882359, 882361, 882829, 883165, 883301, 883417, 883659, 883893, 884269, 885585, 903603, 912307, 914761, 914864, 914865, 919267, 919444, 921310, 923758, 923762, 923886, 926314, 928855, 929081, 930372, 930385, 870766, 876985, 880381, 880391, 880393, 880519, 880815, 881863, 881957, 881959, 881965, 881979, 881983, 881989, 882057, 883313, 883315, 884155, 884255, 884335, 894598, 908414, 913565, 914639, 915963    
Bug Blocks:    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-08 22:49:07 UTC
This is related but separate to Clang 16. Clang 15+ started warning on this but it's not fatal right now.

-Werror=deprecated-non-prototype issues are forbidden in C23 (C2x) so at the latest, this will become a problem for us when compilers switch in ~2025/2026/2027 to C23 as default, but it might become a problem sooner if Clang decides to change.