delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/15/09:59:49

Date: Tue, 15 Oct 1996 15:40:39 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Piotr Kasprzak <Piotr DOT Kasprzak AT xyz DOT prima DOT ruhr DOT de>
Cc: djgpp AT delorie DOT com
Subject: Re: Error in gcc !?
In-Reply-To: <6IlzIonNWSB@xyz.prima.ruhr.de>
Message-Id: <Pine.SUN.3.91.961015153921.20186E@is>
Mime-Version: 1.0

On 13 Oct 1996, Piotr Kasprzak wrote:

> Now I made a mistake in the constructor of class B: I referred to Ptr with  
> B :: Ptr. But gcc didn't reported the bug and compiled everything.

Did you use -Wall switch when compiling?  There are also a few other 
warning-related switches which are by default disabled; look them up in 
the GCC docs.

- Raw text -


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