Committed: Fix C99:ism (declaration after statement) in java FE.

Hans-Peter Nilsson hp@bitrange.com
Sun Oct 17 10:59:00 GMT 2004


On Sat, 16 Oct 2004, Kaveh R. Ghazi wrote:
>  > Hope to look into adding -Wdeclaration-after-statement for all
>  > front-ends @WERROR@ settings (stage2 or where supported).
>
> No need for a new flag, just add -pedantic like the other FEs do.
> (Haven't tried it myself, probably requires cleaning other fallout.)

Hmm, looks like you're right.  Tom Tromey mentioned on IRC that
he'd like more warnings enabled, so it seems this would be the
way to go.  Maybe I'll do it.

brgds, H-P



More information about the Java-patches mailing list