On 08/31/2010 03:24 AM, Bruno Haible wrote:
Hi Paul,
+ @pindex gcc
@pindex lint
! @pindex valgrind
! Don't make the program ugly to placate @code{gcc -Wall},
-Wextra should fix Bruno's valid complaint.
@code{lint},
! @code{valgrind}, or other software analysis tools. These tools can
! help find bugs, but they can also generate false alarms for constructs
! that they incorrectly consider to be suspicious. Although we want
! useful warnings and don't want useless ones, we also want code that is
! as readable as possible and is not cluttered with unnecessary casts or
! wrappers. For example, in C, please don't insert casts to @code{void}
! or replace @code{0} with @code{NULL} merely to pacify a lint checker.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I agree this should be removed, and possibly replaced with a better example.
Paolo