www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/06/13:40:03

Sender: nate AT cartsys DOT com
Message-ID: <35F2B3F9.C4986C05@cartsys.com>
Date: Sun, 06 Sep 1998 09:10:33 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Jason <bigjmack AT NOSPAM DOT rt66 DOT com>
CC: djgpp AT delorie DOT com
Subject: Re: Why doesn't C++ work!?!?!
References: <000301bdd8ea$ad71b8a0$5d4d08c3 AT arthur> <35F1FBAD DOT 1CC87DC4 AT NOSPAM DOT rt66 DOT com>

Jason wrote:
> > If you don't use int main() then it will cause a warning to show, if not a
> > fatal error.
> 
> Well, I have never received any kind of warning or fatal error with any compiler
> I have used.  Hmm...

With GCC, you should **always** use the `-Wall' option in order to get
all possible warnings.  Treat all of them seriously, and fix them!  Many
will point out bugs, and save you the trouble of finding them later.

-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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