From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: main warnings Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <1r3mvsc3u10jourl4j76glspd7tv5q9o83@4ax.com> References: <39facb81 DOT 19140776 AT news DOT freeserve DOT net> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 20 X-Trace: /Kkf2O+cEmr1IN8a5tRAJOiUgdB3jVv3i0fJa6wEqF58vRWFXQC5B+6qjUWLSU+3vlJ9Nd/v5tUE!CGTd2nc1KOys4uvrf+YrHHBboPnsR3cmC2XTi1xCLWEo9ONkOkQVSFxYDIhkl66GP+4nKJRXEY1m!hXegzg== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 28 Oct 2000 17:40:03 GMT Distribution: world Date: Sat, 28 Oct 2000 17:40:03 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 28 Oct 2000 12:50:15 GMT, dontmailme AT iname DOT com (Steamer) wrote: >César Martín Cabello 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. --