[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: attribute warn_unused_result
From: |
Eli Zaretskii |
Subject: |
Re: attribute warn_unused_result |
Date: |
Thu, 03 Feb 2011 23:16:06 +0200 |
> Date: Thu, 03 Feb 2011 11:33:03 -0800
> From: Paul Eggert <address@hidden>
> CC: Eli Zaretskii <address@hidden>, address@hidden
>
> On 02/03/11 10:53, Stefan Monnier wrote:
>
> > So, for each such case, we should think about it and if we indeed want
> > to ignore the return value, we should put an explicit cast to that
> > effect (which should hopefully be understood by gcc to silence the
> > warning).
>
> Gnulib's ignore-value module is designed for that.
And is butt-ugly, IMO.
- Re: attribute warn_unused_result, (continued)
- Re: attribute warn_unused_result, Lennart Borgman, 2011/02/03
- Re: attribute warn_unused_result, Stefan Monnier, 2011/02/04
- Re: attribute warn_unused_result, Lennart Borgman, 2011/02/04
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/05
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/05
- Re: attribute warn_unused_result, Andy Moreton, 2011/02/03
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/03
- Re: attribute warn_unused_result,
Eli Zaretskii <=
Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/03
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/03
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/04
- Re: attribute warn_unused_result, Tom Tromey, 2011/02/04
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/04
- Re: attribute warn_unused_result, Tom Tromey, 2011/02/04
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/04
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/05
- Message not available
- Re: attribute warn_unused_result, Paul Eggert, 2011/02/05
- Re: attribute warn_unused_result, Eli Zaretskii, 2011/02/05