Nicholas Clark wrote:
On Thu, Sep 20, 2007 at 02:13:11PM -0700, chromatic wrote:

Hoist that declaration up a bit, or C89 compilers will complain. Is there a GCC warning that we could enable here?

Ah, the beauties of cut-n-paste (which is evil, but allowed in the process of a refactor).

 -Wdeclaration-after-statement

Sadly it can't be made an error.

Already turned on.

src/ops/object.ops: In function 'Parrot_subclass_p_s_s':src/ops/object.ops:343: warning: ISO C90 forbids mixed declarations and code

It's just easy to miss the warning in the midst of all the other warnings.

Allison

Reply via email to