[notmuch] [PATCH 1/2] * avoid gcc 4.4.1 compiler warnings due to ignored write return values

Dirk-Jan Binnema djcb.bulk at gmail.com
Mon Nov 23 08:14:12 PST 2009


Hi Jed,

On Mon, Nov 23, 2009 at 4:24 PM, Jed Brown <jed at 59a2.org> wrote:

>
>
> But I'm confused here because I don't currently see any warnings with
> gcc-4.4.2.  Actually this must be a bug because I get no warnings for
> the blatantly unused
>
>  malloc(5);
>

Did you try it with -O2? Without optimizations many of the warnings are not
issued.

Best wishes,
Dirk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091123/85157f8a/attachment.htm>


More information about the notmuch mailing list