Date: Tue, 15 Oct 1996 15:40:39 +0200 (IST) From: Eli Zaretskii To: Piotr Kasprzak Cc: djgpp AT delorie DOT com Subject: Re: Error in gcc !? In-Reply-To: <6IlzIonNWSB@xyz.prima.ruhr.de> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.