bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: intprops.h xalloc-oversized.h: fix typos and port to gcc-7


From: Paul Eggert
Subject: Re: intprops.h xalloc-oversized.h: fix typos and port to gcc-7
Date: Mon, 29 Aug 2016 12:05:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Jim Meyering wrote:

Good catch.
Thanks.

In trying it out on GNU Emacs with GCC 6.2 I ran into another problem: it complains at compile-time if __builtin_add_overflow's 3rd arg is null. In some GCC versions this is supposed to discard the value, but I guess that capability is superseded by __builtin_add_overflow_p. So I installed the attached additional patch, which avoids the need for a null argument so we don't have to worry about GCC version details there.

Attachment: 0001-intprops.h-port-recent-changes-to-GCC-6.2.0.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]