WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
299589
[JSC][Flatpak SDK] Error building unifdef with GCC 15.x
https://bugs.webkit.org/show_bug.cgi?id=299589
Summary
[JSC][Flatpak SDK] Error building unifdef with GCC 15.x
Adrian Perez
Reported
2025-09-26 00:58:05 PDT
Command to reproduce: % CC= CXX= ./Tools/Scripts/build-webkit --jsc-only --cmakeargs='-DENABLE_JSC_GLIB_API=ON' --no-fatal-warnings Error: ../../../Source/ThirdParty/unifdef/unifdef.c:205:1: warning: ‘constexpr’ is not at beginning of declaration [-Wold-style-declaration] 205 | static bool constexpr; /* constant #if expression */ | ^~~~~~ ../../../Source/ThirdParty/unifdef/unifdef.c:205:1: warning: useless type name in empty declaration ../../../Source/ThirdParty/unifdef/unifdef.c:205:1: error: ‘constexpr’ in empty declaration ../../../Source/ThirdParty/unifdef/unifdef.c: In function ‘eval_unary’: ../../../Source/ThirdParty/unifdef/unifdef.c:1089:27: error: expected identifier or ‘(’ before ‘=’ token 1089 | constexpr = false; | ^ ../../../Source/ThirdParty/unifdef/unifdef.c:1106:27: error: expected identifier or ‘(’ before ‘=’ token 1106 | constexpr = false; | ^ ../../../Source/ThirdParty/unifdef/unifdef.c: In function ‘ifeval’: ../../../Source/ThirdParty/unifdef/unifdef.c:1173:19: error: expected identifier or ‘(’ before ‘=’ token 1173 | constexpr = killconsts ? false : true; | ^ ../../../Source/ThirdParty/unifdef/unifdef.c:1176:27: error: expected specifier-qualifier-list before ‘?’ token 1176 | return (constexpr ? LT_IF : ret == LT_ERROR ? LT_IF : ret); | ^ ../../../Source/ThirdParty/unifdef/unifdef.c:1169:18: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 1169 | Linetype ret; | ^~~ ../../../Source/ThirdParty/unifdef/unifdef.c: In function ‘debug’: ../../../Source/ThirdParty/unifdef/unifdef.c:1660:17: warning: function ‘debug’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] 1660 | vwarnx(msg, ap); | ^~~~~~
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2025-09-26 01:01:32 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51373
EWS
Comment 2
2025-09-26 05:31:53 PDT
Committed
300574@main
(e33b18bc59d6): <
https://commits.webkit.org/300574@main
> Reviewed commits have been landed. Closing PR #51373 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug