On Sep 21, 2007, at 1:15 AM, Joshua Isom wrote:
-Werror -Wdeclaration-after-statement
Should work according to the manpage. But just one little problem.
src/string.c
In file included from src/string.c:26:
src/string_private_cstring.h:21: warning: size of 'parrot_cstrings'
is 7560 bytes
***
-Werror -Wdeclaration-after-statement
Should work according to the manpage. But just one little problem.
src/string.c
In file included from src/string.c:26:
src/string_private_cstring.h:21: warning: size of 'parrot_cstrings' is
7560 bytes
*** Error code 1
So we'd have to change some things a
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).
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?
-Wdeclaration-after-statement
Sadly it can't be made an error.
Nicholas Clark
On Thursday 20 September 2007 14:07:45 [EMAIL PROTECTED] wrote:
> Modified: branches/pdd15oo/src/ops/object.ops
> ===
>=== --- branches/pdd15oo/src/ops/object.ops (original)
> +++ branches/pdd15oo/src/ops/object.ops Thu Sep 20