This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [cp-patches] Performance improvement for FreetypeGlyphVector.java
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