delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/03:20:07

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems with pgcc
Date: Sat, 24 May 1997 17:07:28 -0400
Organization: Cornell University http://www.cornell.edu
Lines: 26
Sender: asu1 AT cornell DOT edu (Verified)
Message-ID: <33875890.39E1@cornell.edu>
References: <199705241659 DOT AA075583151 AT typhoon DOT rose DOT hp DOT com> <5m7fh4$qc5$1 AT bore DOT news DOT pipex DOT net>
Reply-To: asu1 AT cornell DOT edu
NNTP-Posting-Host: cu-dialup-0057.cit.cornell.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

nikki wrote:
> a common one is 'warning return type of 'main' is not 'int''
> as will be thrown up by the following
> 
> void main()
> {
> }
> 
> can the pgcc people please justify a reason for this? 

here we go again ... main is supposed to return an int ... that's it.
also, a compiler is free to print any warning it wants. i haven't used
pgcc, don't even have a pentium, but i do not see why you get so worked
up about this very valid warning.

-- 
   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.
*******************************************************************

- Raw text -


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