delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/10/28/14:00:18

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: main warnings
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <1r3mvsc3u10jourl4j76glspd7tv5q9o83@4ax.com>
References: <F68M9wGmAf0MjkatwD400001158 AT hotmail DOT com> <39facb81 DOT 19140776 AT news DOT freeserve DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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.

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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