[cairo-bugs] [Bug 51633] Fix on 1.12 for unsupported -Wno option detection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 12 06:41:48 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51633

--- Comment #3 from Gilles Espinasse <g.esp at free.fr> 2012-07-12 06:41:48 PDT ---
here is the beginning of the diff between unfixed and fixed build error log
files.
--- log1    2012-07-12 08:57:13.000000000 +0200
+++ log2    2012-07-12 08:49:43.000000000 +0200
@@ -5,8 +5,6 @@
 cairo-bentley-ottmann.c:1106: warning: called from here
 cairo-bentley-ottmann.c:1701: warning: 'ymin' may be used uninitialized in
this function
 cairo-bentley-ottmann.c:1701: warning: 'ymax' may be used uninitialized in
this function
-At top level:
-cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
 cairo-botor-scan-converter.c:2132: warning:
'_cairo_botor_scan_converter_add_edge' defined but not used
 cairo-botor-scan-converter.c:2151: warning:
'_cairo_botor_scan_converter_add_polygon' defined but not used
 cairo-botor-scan-converter.c: In function 'edges_compare_x_for_y':
@@ -17,8 +15,6 @@
 cairo-botor-scan-converter.c:1944: warning: called from here
 cairo-botor-scan-converter.c:963: warning: inlining failed in call to
'event_insert_if_intersect_below_current_y': call is unlikely and code size
would grow
 cairo-botor-scan-converter.c:1949: warning: called from here
-At top level:
-cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
 cairo-image-compositor.c: In function 'span_renderer_init':
 cairo-image-compositor.c:138: warning: inlining failed in call to
'color_to_pixel': call is unlikely and code size would grow
 cairo-image-compositor.c:1832: warning: called from here
@@ -33,12 +29,8 @@
 cairo-image-compositor.c: In function '_blit_xrgb32_lerp_spans':
 cairo-image-compositor.c:1922: warning: inlining failed in call to 'lerp8x4':
call is unlikely and code size would grow
 cairo-image-compositor.c:2207: warning: called from here
-At top level:
-cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
 cairo-mesh-pattern-rasterizer.c: In function 'draw_bezier_patch':
 cairo-mesh-pattern-rasterizer.c:731: warning: cannot optimize possibly
infinite loops
-At top level:
-cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
 cairo-path-stroke-polygon.c: In function 'add_caps':
 cairo-path-stroke-polygon.c:1022: warning: ignoring return value of
'_cairo_polygon_add_contour', declared with attribute warn_unused_result
 cairo-path-stroke-polygon.c:1039: warning: ignoring return value of
'_cairo_polygon_add_contour', declared with attribute warn_unused_result
@@ -51,19 +43,14 @@
 cairo-path-stroke-polygon.c:236: warning: 'distance_from_face' defined but not
used
 cairo-path-stroke-polygon.c:252: warning: 'distance_along_face' defined but
not used
 cairo-path-stroke-polygon.c:262: warning: 'compute_inner_joint' defined but
not used
...

This is not dividing the warning count by 2 as there is to often more than one
remaining warning per file.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list