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 lo
On Thu, Nov 12, 2020 at 11:40 PM Paul Eggert wrote:
> On 11/9/20 8:12 AM, Andreas Schwab wrote:
> > 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-ty
On 11/9/20 8:12 AM, Andreas Schwab wrote:
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
mak
https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:Factory/grep/f/x86_64
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Mon, Nov 9, 2020 at 8:14 AM Andreas Schwab wrote:
> 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 bein
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.