[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coreutils] ignore-value.h considered harmful
From: |
Paul Eggert |
Subject: |
[coreutils] ignore-value.h considered harmful |
Date: |
Wed, 11 Aug 2010 05:56:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 |
Re that recent change to sort.c to insert a call to ignore_value.
This ignore_value business is ugly, and
runs against the spirit of the GNU coding standards:
"Don't make the program ugly to placate lint.
Please don't insert any casts to void."
<http://www.gnu.org/prep/standards/html_node/Syntactic-Conventions.html>
How about if we suppress those GCC warnings instead, using
-Wno-unused-result or whatever-it-is? The cost of this
particular warning seems to be greater than its benefits.
- [coreutils] ignore-value.h considered harmful,
Paul Eggert <=