Date: Wed, 21 Feb 2001 11:47:21 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Johan Henriksson cc: djgpp AT delorie DOT com Subject: Re: What does this mean? In-Reply-To: <02a901c09b7c$92b8abc0$6300a8c0@brk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 20 Feb 2001, Johan Henriksson wrote: > switch(val) > { case 1: return(2); > case 2: return(3); > default: return(5); > } > } > > I'm not sure but I think this is one of the codesnippets that fool's GCC. Did you try this? I don't think GCC will emit a warning for this code. It might print a warning if there's no `default' clause, though.