[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Segmentation fault compiling broken 1-liner
From: |
Antti-Juhani Kaijanaho |
Subject: |
Re: [Tinycc-devel] Segmentation fault compiling broken 1-liner |
Date: |
Tue, 30 Aug 2005 19:57:59 +0300 |
User-agent: |
Debian Thunderbird 1.0.6 (X11/20050802) |
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:)
--
Antti-Juhani
signature.asc
Description: OpenPGP digital signature
Re: [Tinycc-devel] Segmentation fault compiling broken 1-liner, Henrik Nordstrom, 2005/08/30