From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Warning message Date: Tue, 05 Aug 1997 03:01:38 -0400 Organization: Cornell University http://www.cornell.edu Lines: 19 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33E6CFD2.2D6@cornell.edu> References: <33E6C03F DOT 215F AT starnets DOT ro> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0051.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 Korenschi Francisc Eduard wrote: > What does the message "Return type for main changed to integer type" > mean ? > (I used the -Wall option) the only valid return type for main in ANSI C is int. do not use void main. if you have further questions on this, you can check out the comp.lang.c faq. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ *******************************************************************