:: Re: [DNG] What is the meaning of th…
Página Inicial
Delete this message
Reply to this message
Autor: Rainer Weikusat
Data:  
Para: dng
Assunto: 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 ...)