https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97793
Bug ID: 97793 Summary: Bogus return-type warning Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org Target Milestone: --- Created attachment 49545 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49545&action=edit test-nl_langinfo-mt.i $ gcc -Werror=return-type -S test-nl_langinfo-mt.i test-nl_langinfo-mt.i: In function ‘threadN_func’: test-nl_langinfo-mt.i:6268:1: error: no return statement in function returning non-void [-Werror=return-type] } ^ cc1: some warnings being treated as errors