From: locke AT mcs DOT net (Peter Johnson) Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with pgcc Date: Sat, 24 May 1997 22:40:39 GMT Organization: BiLogic Productions Lines: 27 Message-ID: <33886e43.1786516@news> 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: locke AT mcs DOT net NNTP-Posting-Host: locke.pr.mcs.net 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 On 24 May 1997 19:28:36 GMT, nikki AT gameboutique DOT co (nikki) wrote: > >i have some questions of my own to add here about pgcc, a lot of the programs >i'm compiling are throwing up errors all over the place, they compile quite >happily however under standard gcc even with -Wall on. >a common one is 'warning return type of 'main' is not 'int'' >as will be thrown up by the following > >void main() >{ >} because in standard C, main MUST return int! ------------------------------------- Peter Johnson ------------------------------------- locke AT mcs DOT net http://locke.home.ml.org ------------------------------------- Freelance C/C++/Pascal/Asm programmer for DJGPP, Borland, and Watcom compilers Member of BiLogic demo group -> http://BiLogic.home.ml.org Member, C group advisor of AL's SoftWare -> http://www.cybercomm.net/~alsoft/ -------------------------------------