Re: ellipsis in switch statements


Subject: Re: ellipsis in switch statements
From: Tomasz Wegrzanowski (maniek@beer.com)
Date: Tue Jul 11 2000 - 10:57:17 CDT


On Tue, Jul 11, 2000 at 07:38:37AM -0400, Thomas Fletcher wrote:
> On Tue, 11 Jul 2000, Tomasz Wegrzanowski wrote:
> > > at the top of the function and commenting out the offending block. Is there
> > > a more elegant solution that I'm missing? Is this in some strange world
> > > valid C? Am I missing something really obvious?
> >
> > There is more elegant solution : use GNU C :-).
> > This is not C/C++ problem but GCC extension.
>
> My personal opinion is that the more elegant solution
> is to code it ANSI the first time.

ANSI was made by committee, so it needs a few fixes here and there.

Completely OffTopic:
  I still can't guess how to make macro in ANSI
  macro(string) to expand to "string"
  This was easy in old C, is there any way in ANSI ?



This archive was generated by hypermail 2b25 : Tue Jul 11 2000 - 11:06:10 CDT