[cairo-bugs] [Bug 4379] New: Make compilation with -Wshadow less
noisy
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 7 02:35:29 PDT 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=4379
Summary: Make compilation with -Wshadow less noisy
Product: cairo
Version: 1.0.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: yeti at physics.muni.cz
QAContact: cairo-bugs at cairographics.org
cairo.h uses y0 and y1 (the names of standard math.h Bessel functions) as
function prototype argument names in several places, making gcc -Wshadow very
noisy and practically unusable for compilation of programs that use Cairo. I'm
attaching a patch that fixes that.
It is in fact a gcc problem, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=529, but even though it's fixed no
version of gcc with the fix has been released yet.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list