Closed Bug 1394002 Opened 7 years ago Closed 7 years ago

Suppress gcc warnings in cairo and libpixman

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

Details

(Whiteboard: [tor])

Attachments

(1 file)

These two projects generate a lot of warnings:

>  20 [-Wswitch]
>  16 [-Wincompatible-pointer-types]
>  15 [-Wunused-variable]
>   6 [-Wunused-but-set-variable]
>   4 [-Wnarrowing]
>   3 [-Wsign-compare]
>   1 [-Wint-conversion]

We currently suppress a lot of warnings for them already, so lets round out the set.
Comment on attachment 8901341 [details]
Bug 1394002 Suppress warnings in third party cairo and libpixman code

https://reviewboard.mozilla.org/r/172802/#review178194
Attachment #8901341 - Flags: review?(jmuizelaar) → review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5868e138b604
Suppress warnings in third party cairo and libpixman code r=jrmuizel
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/5868e138b604
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Confirming that some of the compiler warnings have been suppressed:

== Change summary for alert #9021 (as of August 25 2017 22:00 UTC) ==

Improvements:

  2%  compiler warnings summary linux64-noopt debug      406.00 -> 397.92
  1%  compiler warnings summary linux32 debug            537.00 -> 529.00
  1%  compiler warnings summary linux64 debug            547.00 -> 539.00
  1%  compiler warnings summary linux32 opt              569.00 -> 560.83
  1%  compiler warnings summary linux64 opt valgrind     581.00 -> 573.00
  1%  compiler warnings summary linux64 opt              582.00 -> 574.00

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=9021
No longer blocks: 1330608
Depends on: 1400705
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: