delorie.com/archives/browse.cgi | search |
Message-ID: | <3A91FCE1.5FC755D8@earthlink.net> |
From: | Martin Ambuhl <mambuhl AT earthlink DOT net> |
X-Mailer: | Mozilla 4.76 [en] (Win95; U) |
X-Accept-Language: | en,zh-CN,fr,de-CH,ru |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: What does this mean? |
References: | <4Ykk6.112438$p8 DOT 27106058 AT typhoon DOT southeast DOT rr DOT com> |
Lines: | 17 |
Date: | Tue, 20 Feb 2001 05:11:16 GMT |
NNTP-Posting-Host: | 165.247.27.156 |
X-Complaints-To: | abuse AT earthlink DOT net |
X-Trace: | newsread2.prod.itd.earthlink.net 982645876 165.247.27.156 (Mon, 19 Feb 2001 21:11:16 PST) |
NNTP-Posting-Date: | Mon, 19 Feb 2001 21:11:16 PST |
Organization: | EarthLink Inc. -- http://www.EarthLink.net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
pwillard wrote: > > I have a warning that says: "control reaches end of non-void function". What > would be some reasons I would get this? Because you have a function that returns an int but you did not return one. An (now illegal) example of this is main(void) {} which was a synonym for int main(void) {} which should have been int main(void) { return 0; }
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |