From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: problems with void main(...) Date: Wed, 02 Jul 1997 08:53:02 -0400 Organization: Cornell University http://www.cornell.edu Lines: 21 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33BA4F2E.4C59@cornell.edu> References: <33B95552 DOT 7C88 AT traditor DOT fi> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0048.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Pauli Saksa wrote: > In function `int main(...)': > warning: `return' with no value, in function returning non-void > > so... could someone tell what I've done wrong? > I'm new to djgpp so there may be some defaults or something I > haven't noticed... yep, you have missed the ansi standards. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************