WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
229540
[GTK] Compiler output flooded with [-Wunused-but-set-variable warning]
https://bugs.webkit.org/show_bug.cgi?id=229540
Summary
[GTK] Compiler output flooded with [-Wunused-but-set-variable warning]
Thomas Devoogdt
Reported
2021-08-26 00:46:42 PDT
Hi, I get a lot of warnings when building webkitgtk (2.30.6) with buildroot (2021.02.4) This particular warning "warning: variable ‘success’ set but not used" occurs in total 61417 times, which flooding the compiler output logs. Probably due to the UNLIKELY define. ``` build/output/build/webkitgtk-2.30.6/DerivedSources/ForwardingHeaders/wtf/Vector.h:1065:14: warning: variable ‘success’ set but not used [-Wunused-but-set-variable] ``` Is it possible to force the usage of ‘success’ by adding a `(void)success;` line. Or by suppressing those warnings ...? kr, Thomas
Attachments
Add attachment
proposed patch, testcase, etc.
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