Sam Ruby wrote:

Michael Walter wrote:

Uh, C89 is an ANSI/ISO C.


I'm not enough of a language lawyer to know when various features came into to the language, but

  gcc -std=c89 test.c

does *NOT* warn about declaration ordering issues. At least not with gcc version 3.3.4 (Debian 1:3.3.4-6sarge1)

- Sam Ruby

If I remember correctly, MS Visual Studio *will* emit errors for this (I used VS 6.0, a long time ago).

Klaas-Jan




Reply via email to