www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/19:54:16

Sender: nate AT cartsys DOT com
Message-ID: <36DF2B49.92F123F9@cartsys.com>
Date: Thu, 04 Mar 1999 16:54:33 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Bad Command or Filename??
References: <7bn6sl$ebr$1 AT news3 DOT infoave DOT net>
Reply-To: djgpp AT delorie DOT com

Paganini wrote:

> BTW...how come DJGPP doesn't support void main functions? It seems to be
> converting them to ints....

It's a feature.  `main' has to return `int', according to both ANSI C
and C++, so GCC is just fixing your bug for you...
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019