gcc4 generates lots of warnings like: cairo_wideint.h:159: warning: type qualifiers ignored on function return type Researching this for a similar bug on another project found: In ISO C, type qualifiers on the return type of a function are generally allowed but have no effect since the value returned by a function is not an lvalue (and can't be accessed after the next sequence point, so restrict qualifiers don't come into play). Since such qualifiers won't have whatever effect a programmer might have intended, this patch adds a warning for them at -W (except for the "volatile void" GNU extension, which gets warned about at -pedantic). Ref: http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00814.html I'll followup with patches to cairo_wideint.[ch] to remove the offending "const" qualifiers.
Created attachment 1695 [details] [review] remove const qualifiers from cairo_wideint.[ch]
I've committed the above patch to cairo_wideint.c, and my own fix for cairo_wideint.h. Let me know if I missed anything.
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.
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.