Re: Linux v2.5.48

From: Andi Kleen (ak@suse.de)
Date: Tue Nov 26 2002 - 23:57:58 EST


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/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:16 EST