On 8/30/05, 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. > > (Boy, am I embarrassed not to have spotted the missing parentheses:)
I did not too :P But hey, that is why we use compilers :) But if I compile with -O0, it not only compiles, it runs as "expected". Regards, Marcelo. _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
