This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Committed: Fix C99:ism (declaration after statement) in javaFE.
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