On Thu, 26 May 2005, Jesse Liley wrote:

thats violating c syntax, you're supposed to declare variables before
code inside curvey brackets {}

No, not since C99 came out. Variables may now be declared freely within their scope as long as the variable is declared before it is being used.

Also main is supposed to be declared "int main(int argc, char
*argv[])", and actually return a value.

Not stricly required either.. but it is good style to do so.

Regards
Henrik


_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to