[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: |
Wed, 31 Aug 2005 07:39:08 +0300 |
User-agent: |
Debian Thunderbird 1.0.6 (X11/20050802) |
K.G. wrote:
> On Tue, 30 Aug 2005 19:57:59 +0300
> Antti-Juhani Kaijanaho <address@hidden> wrote:
>>Also, main should return int.
> In C99 you can "return" void if you want (i don't know about previous
> standards)
No, you can't. What you can do is omit the return statement in the main
function (which is equivalent to executing a "return 0;" at the end of
the function).
--
Antti-Juhani
signature.asc
Description: OpenPGP digital signature
Re: [Tinycc-devel] Segmentation fault compiling broken 1-liner, Henrik Nordstrom, 2005/08/30