Re: [AD] Allegro 4.2.0 RC2 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] Allegro 4.2.0 RC2
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Sun, 28 Aug 2005 02:08:49 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-disposition:message-id:content-type:content-transfer-encoding; b=trcTSK/xMo1A0Hgjac063RAyTEZ7nfsDIjOEJ/4JxMCz1GvmskXDpI5d8hDQDc5GzdSCAcSfvuph9j9KYoAUUkoTHWqambpRNKYG2lWZCpvPI+pb6SXPq9I1wpqhPTxl95ZbN6x9ZRQX/9xL74L66K3ongGw2aqTV8cVppmW1SY=
On Sunday 28 August 2005 01:45 am, Michal Molhanec wrote:
> Really wonder that GCC allows "return something;" in void functions.
A void function returning a void value is valid.
void somefunc();
void anotherfunc()
{
return somefunc();
}
..is 100% okay, AFAIK.