Summary: | Make compilation with -Wshadow less noisy | ||
---|---|---|---|
Product: | cairo | Reporter: | David Neèas <yeti> |
Component: | general | Assignee: | Carl Worth <cworth> |
Status: | RESOLVED NOTOURBUG | QA Contact: | cairo-bugs mailing list <cairo-bugs> |
Severity: | minor | ||
Priority: | high | CC: | erikd+cairo |
Version: | 1.0.0 | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | proposed patch |
Description
David Neèas
2005-09-07 02:35:28 UTC
Created attachment 3190 [details] [review] proposed patch Fixing the headers is important, as they generate warnings for cairo users. The C files are not really important, and your patch for them doesn't look right to me as it only changes docs, not the parameters. I think we can just commit the header changes, possibly update for any new API having y0 or y1 in the prototype. Header files have to be fixed as they generate the warnings. gtk-doc documentation has to match *header files*, not implementation. If the patch does this -- as it seems to me -- it is correct. Of course, nothing prevents one from changing the implementation too, it's a matter of taste how many underscores one wants in the implementation. A side note: since the release of gcc 4.1 which finally got it right patches like this are becoming less relevant. I'd prefer to just not uglify the cairo headers as a workaround for a gcc bug that is now (finally) fixed. -Carl |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.