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

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

bug#44535: closed (grep-3.6 released [stable])


From: GNU bug Tracking System
Subject: bug#44535: closed (grep-3.6 released [stable])
Date: Sun, 22 Nov 2020 02:16:02 +0000

Your message dated Sat, 21 Nov 2020 18:15:20 -0800
with message-id <eda914f6-6d76-822f-5592-6aa7b54ae546@cs.ucla.edu>
and subject line Re: bug#44535: grep-3.6 released [stable]
has caused the debbugs.gnu.org bug report #44535,
regarding grep-3.6 released [stable]
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
44535: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44535
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Re: grep-3.6 released [stable] Date: Mon, 09 Nov 2020 17:12:54 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
grep 3.6 fails to build:

test-nl_langinfo-mt.c: In function 'threadN_func':
test-nl_langinfo-mt.c:185:1: error: no return statement in function returning 
non-void [-Werror=return-type]
  185 | }
      | ^
cc1: some warnings being treated as errors
make[4]: *** [Makefile:4221: test-nl_langinfo-mt.o] Error 1

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



--- End Message ---
--- Begin Message --- Subject: Re: bug#44535: grep-3.6 released [stable] Date: Sat, 21 Nov 2020 18:15:20 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2
On 11/12/20 11:39 PM, Paul Eggert wrote:
We have dueling compilers here, as Sun C complains if the return statements are present[1], whereas gcc -Wreturn-type complains if they're absent. Since the return statements are clearly bogus and unnecessary I'm inclined to continue to omit them.

I looked into this some more, and found out that it's a known GCC bug. I installed the attached patch into Gnulib to work around the bug. Thanks for reporting the problem.

Attachment: 0001-nl_langinfo-tests-work-around-GCC-bug-44511.patch
Description: Text Data


--- End Message ---

reply via email to

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