let me also note that i get this error on almost every platform i've
compiled qmail on, linux+glibc, freebsd2.6-3.1, solaris2.5-2.6,
linuxppc4.0, etc..
end
+-------------------------------------+
|Greg Albrecht KF4MKT [EMAIL PROTECTED]|
|Safari Internet www.safari.net|
|Fort Lauderdale, FL 1-888-537-9550|
+-------------------------------------+
On Wed, 28 Apr 1999, Lara Marques wrote:
>Hi Oden,
>
>If the exit program is always returning with _exit() then add int in front
>of main.
>
>i.e. int main ()
>
>the reason you are getting this error is because the function is defined
>to return nothing i.e. void main () thus you are telling the function to
>return the exit code (conflict in return interest).
>
>This isn't important but a good programmer always ensures that these
>things are correct (and I believe it is important to understand and
>correct this error :)) - since they could avoid problems later.
>
>Regards
>lara
>
>-------------------------------------------------------------------------
>Lara Marques mailto:[EMAIL PROTECTED]
>InfoLine cellular: 082 656 4665
>http://www.infoline.web.za work: 011 402 4116
>http://www.mighty.co.za fax: 011 402 4118
>-------------------------------------------------------------------------
>
>On Wed, 28 Apr 1999, Harald Hanche-Olsen wrote:
>
>> + "Oden Eriksson" <[EMAIL PROTECTED]>:
>>
>> | ------------
>> | qmail-local.c: In function `mainī:
>> | qmail-local.c:448 Warning: return type of `mainī is not `intī
>> | ------------
>> |
>> | Is this severe and if so how do I correct it ?
>>
>> It does not matter one whit because all these program exit via _exit()
>> and never reach the end of main().
>>
>> - Harald
>>
>
>