:: Re: [DNG] What is the meaning of th…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Rainer Weikusat
日付:  
To: dng
題目: Re: [DNG] What is the meaning of this gcc warning?
Didier Kryn <kryn@???> writes:
>     This is the gcc safety guard against one of the most common and
> terribly dangerous errors in C:

>
>     if ( a= b ) instead of if ( a== b )


This is not a particularly common error and not a dangerous one, either,
as gcc will complain about this (to this date, whenever I use the return
value of an assignment in a loop-control expression in Perl because I
mean it, I experience a passing notion of thankfulness for not having to
put the *&£$%*@?! extra pair of parens around it ...)