Uh, C89 is an ANSI/ISO C.
On Thu, 02 Dec 2004 15:55:21 -0500, Sam Ruby <[EMAIL PROTECTED]> wrote: > 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 >