[cp-patches] Cleanup new compiler warnings

Mark Wielaard mark at klomp.org
Thu Jun 1 19:27:35 UTC 2006

Hi Andreas,

On Thu, 2006-06-01 at 21:16 +0200, Andreas Tobler wrote:
> Mark Wielaard wrote:
> >     * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
> >     (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
> >     Remove unused cairographics2d struct.
> >     (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
> This part results in new warnings on my side.
> What is your freetype2 version? Do we need a special version?
> The one I have on linux-ppc (FC4) and darwin-ppc has no const qualifiers 
> in the freetype2/freetype/ftimage.h for these functions.
> Yours seem to have. I saw in the cvs of freetype2 that there are now.
> Any thoughts on this?

Darn, I had hoped adding the consts as they are in current freetype2
headers (I have 2.2.1 installed) would also work with the older
versions. We don't necessarily need this latest version except for
getting clean warning free compile. Maybe we can come up with a
configure check to see whether we need const arguments or not?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060601/c227991a/attachment.pgp

More information about the Classpath-patches mailing list