[cp-patches] Performance improvement for FreetypeGlyphVector.java

Mark Wielaard mark at klomp.org
Thu Nov 6 12:02:25 UTC 2008


Hi Andrew,

On Thu, 2008-11-06 at 11:47 +0000, Andrew Haley wrote:
> Andrew Haley wrote:
> > Mark Wielaard wrote:
> >> cc1: warnings being treated as errors
> > 
> > Ah, right.  We should do that in the gcj build too.
> 
> I've just noticed something.  My patch uses a declaration (of pelements)
> after some statements, and this is not legal C90, although most
> compilers support it.  (OK, I confess, I forgot this was C and not
> C++ :-)
> 
> Do we care?  -Wdeclaration-after-statement will warn for this.

Probably not for the gtk+ peers. We do have -pedantic in
STRICT_WARNING_CFLAGS for most C code. But gtk+ headers themselves
aren't pedantic clean...

Cheers,

Mark




More information about the Classpath-patches mailing list