Mail Archives: djgpp-workers/2001/05/14/11:31:36
On Mon, 14 May 2001, DJ Delorie wrote:
> > How so? Are you saying that a constant such as 1e-2048 is automatically
> > and silently converted by GCC to a long double type? Even if this is
> > true for a particular version of GCC, is it safe to take it as granted?
>
> I don't know; do we remember if we had a problem back when we added
> those constants?
I wouldn't know: that was in the v1.x days, I believe.
> > > > mntent.c:864:2: warning: suggest not using #elif in traditional C
> > >
> > > So take it out and use nested #if's
> >
> > Which is much less readable.
>
> How so? Personally, I'd rather have the cpp macros easily identified
> so they aren't confused with C constructs. (is that an if, or a #if?)
A matter of taste, I guess.
> > In sum, it certainly looks like -Wtraditional whines about issues which
> > make the code more readable and safer. Are the potential bugs it can
> > uncover really so bad that it makes sense to live with the downsides?
>
> If "living with the downsides" is limited to the kinds of things we've
> uncovered, it's no big deal to live with them.
From the original report of Andris, I remember more nuisance like the `u'
qualifier. We cannot avoid using those qualifiers altogether.
- Raw text -