Leopold Toetsch wrote:
Sam Ruby <[EMAIL PROTECTED]> wrote:
+ void init () { + SUPER(); + PMC *func_args = pmc_new(INTERP, dynclass_PyList);
Please be careful to avoid definitions after code. This doesn't compile with C89 compilers like gcc 2.95.3
Sorry about that.
Stupid question: why don't we compile with an option that flags such things? Example:
$ gcc -Wtraditional test.c test.c: In function `main': test.c:3: warning: traditional C rejects ISO C style function definitions
- Sam Ruby