After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783855 - fonts: fix compiler warning
fonts: fix compiler warning
Status: RESOLVED DUPLICATE of bug 783428
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2017-06-16 07:43 UTC by Ernestas Kulik
Modified: 2017-06-18 09:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fonts: fix compiler warning (972 bytes, patch)
2017-06-16 07:43 UTC, Ernestas Kulik
none Details | Review

Description Ernestas Kulik 2017-06-16 07:43:07 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.
Comment 1 Ernestas Kulik 2017-06-16 07:43:12 UTC
Created attachment 353872 [details] [review]
fonts: fix compiler warning
Comment 2 Ernestas Kulik 2017-06-16 07:44:20 UTC
The specific warning isn’t made an error in the build file, but Clang does it, anyway.
Comment 3 Behdad Esfahbod 2017-06-17 10:33:48 UTC
Don't use -Werror.
Comment 4 Ernestas Kulik 2017-06-17 13:22:48 UTC
(In reply to Behdad Esfahbod from comment #3)
> Don't use -Werror.

I don’t use it.
Comment 5 Ernestas Kulik 2017-06-17 13:33:49 UTC
Actually, it appears that test_cflags with the -Werror switches are being applied, so I might be fixing the symptom here.
Comment 6 Ernestas Kulik 2017-06-17 13:37:05 UTC
(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.
Comment 7 Ernestas Kulik 2017-06-18 09:52:30 UTC

*** This bug has been marked as a duplicate of bug 783428 ***