GNOME Bugzilla – Bug 783855
fonts: fix compiler warning
Last modified: 2017-06-18 09:52:30 UTC
Clang emits a warning for a pointer-to-bool conversion of a static array and the build subsequently fails due to -Werror. The fix is simply removing the offending conversion.
Created attachment 353872 [details] [review] fonts: fix compiler warning
The specific warning isn’t made an error in the build file, but Clang does it, anyway.
Don't use -Werror.
(In reply to Behdad Esfahbod from comment #3) > Don't use -Werror. I don’t use it.
Actually, it appears that test_cflags with the -Werror switches are being applied, so I might be fixing the symptom here.
(In reply to Ernestas Kulik from comment #5) > Actually, it appears that test_cflags with the -Werror switches are being > applied, so I might be fixing the symptom here. And that appears to be by choice, rather than happy accident.
*** This bug has been marked as a duplicate of bug 783428 ***