On Tue, 30 Aug 2005 19:57:59 +0300
Antti-Juhani Kaijanaho <[EMAIL PROTECTED]> wrote:

> Antti-Juhani Kaijanaho wrote:
> > There is no declaration of printf in the file (either included or
> > otherwise), and since printf is a stdarg function, a prototype must be
> > in scope.  However, this does not explain the segfault.
> 
> Also, main should return int.

In C99 you can "return" void if you want (i don't know about previous
standards)

Guillaume Knispel


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

Reply via email to