emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#26927: closed (Diffutils 3.5 make fail by GCC 7.1)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26927: closed (Diffutils 3.5 make fail by GCC 7.1)
Date: Sun, 14 May 2017 19:31:02 +0000

Your message dated Sun, 14 May 2017 12:30:19 -0700
with message-id <address@hidden>
and subject line Re: [bug-diffutils] bug#26927: Diffutils 3.5 make fail by GCC 
7.1
has caused the debbugs.gnu.org bug report #26927,
regarding Diffutils 3.5 make fail by GCC 7.1
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
26927: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26927
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Diffutils 3.5 make fail by GCC 7.1 Date: Sun, 14 May 2017 18:34:30 +0800 (CST)
Error info
intprops.h:234:36: error: expected ')' before '(' token
    __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
Correction method
add “\” after define
# define _GL_ADD_OVERFLOW(a, b, min, max) \
   __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
# define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \
   __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
# define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \
   __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
#else


--- End Message ---
--- Begin Message --- Subject: Re: [bug-diffutils] bug#26927: Diffutils 3.5 make fail by GCC 7.1 Date: Sun, 14 May 2017 12:30:19 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
That bug was fixed here:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=b9c364f02cb7a7485cd063fa2cbcbf82042fa8cc

I think you'll run into other bugs when you try to compile diffutils 3.5 with GCC 7, though. We should generate a new diffutils version soon, to work around the glitches we've fixed since 3.5 came out.


--- End Message ---

reply via email to

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