Re: Linux v2.5.48

Andi Kleen (ak@suse.de)
27 Nov 2002 05:57:58 +0100


kuznet@ms2.inr.ac.ru writes:

> > It would be OK with me not to accept such extensions. :)
>
> One of a few of extensions which does not cause any reaction
> but "it's strange that it was not in KR, apparently it was lost
> due to a buglet in the first parser" :-)

IMHO it's a bit dangerous. It even inspired me to my first gcc
patch, adding a warning for:

bla > 0 ? : somethingelse

(boolean expression as first argument)

returning the boolean value for true which would be always 1. But the real
intention was to return bla. I did this mistake at least twice. After that
I decided to avoid this extension. Unfortunately the gcc guys ignored the patch
to warn for it.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/