lkml.org 
[lkml]   [2002]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux v2.5.48
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.024 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site