NEW229540
[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
Note You need to log in before you can comment on or make changes to this bug.