From: dontmailme AT iname DOT com (Steamer) Newsgroups: comp.os.msdos.djgpp Subject: Re: main warnings Date: Sat, 28 Oct 2000 18:59:18 GMT Organization: always disorganized Lines: 14 Message-ID: <39fb21f8.41280743@news.freeserve.net> References: <39facb81 DOT 19140776 AT news DOT freeserve DOT net> <1r3mvsc3u10jourl4j76glspd7tv5q9o83 AT 4ax DOT com> NNTP-Posting-Host: modem-57.blue-spotted-wrasse.dialup.pol.co.uk X-Trace: news6.svr.pol.co.uk 972759559 6549 62.136.239.57 (28 Oct 2000 18:59:19 GMT) NNTP-Posting-Date: 28 Oct 2000 18:59:19 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Damian Yerrick wrote: > >> i canīt find the -Wmain flag, so when a create a void returning > >> main, the ... compiler says "Hey bastard, thats an error" > > > >ANSI C and ANSI C++ both require the return type of main() to be int. > >What's so difficult about changing your code? > > The OP wants the compiler to remind him to do it. You're right, it looks like he does. My apologies to him. But GCC does this by default. Do you mean RHIDE deliberately switches it off?