:: Re: [DNG] What is the meaning of th…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Rainer Weikusat
Fecha:  
A: dng
Asunto: 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 ...)