On Thursday, 13 August 2015 at 04:47:06 pm +0200, Élie Roux wrote: > > My concern is that the "don't mix code with declarations" limitation > > will be difficult to enforce unless the compiler is enforcing it. I > > haven't had time to go through the compiler documentation for clang > > and/or gcc to see if there is a flag we can use for this. > > -Wdeclaration-after-statement should do for gcc (untested though). > I gave that a quick try. It's not catching declarations in the for statements in either gcc or clang.
Henry _______________________________________________ Gregorio-devel mailing list [email protected] https://mail.gna.org/listinfo/gregorio-devel
