This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wignored-returns?
- From: Dale Johannesen <dalej at apple dot com>
- To: "David E. Weekly" <dweekly at legato dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc at gnu dot org
- Date: Thu, 6 Dec 2001 16:22:57 -0800
- Subject: Re: -Wignored-returns?
On Thursday, December 6, 2001, at 04:11 PM, David E. Weekly wrote:
> GCC Team,
>
> Hello! I saw in the GCC Bug mail archives a post that a certain Gray
> Watson
> had proposed in 1992 for warning on ignored return values:
> http://www.geocrawler.com/mail/msg.php3?msg_id=1968564&list=356. Such a
> warning flag would prove invaluable for myself and for others seeking to
> wholly replace lint with GCC warning flags and seems trivial to implement.
> Is this feature already in GCC or has it yet to be added?
See "Certain Changes We Don't Want To Make" in trouble.texi.