https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44511
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=97793 CC| |egallager at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed| |2020-11-22 Status|UNCONFIRMED |NEW --- Comment #6 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to eggert from comment #4) > We recently ran into this bug in Gnulib, and this affects downstream GNU > test programs with threads that never return, because POSIX thread functions > return 'void *'. For example, with GNU grep 3.6, './configure > --enable-gcc-warnings; make' fails to build; see: > > https://bugs.gnu.org/44535 > > I worked around the problem by adding '#pragma GCC diagnostic ignored > "-Wreturn-type"' to the Gnulib test module in question. It would be nice if > such a workaround weren't needed. Taking this as confirmation.