| delorie.com/archives/browse.cgi | search |
| From: | "A. Sinan Unur" <asu1 AT cornell DOT edu> |
| 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 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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.
*******************************************************************
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |