linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Makefile: Temporarily suppress -Werror=unused-result
@ 2025-06-18 20:17 Cheng-Yang Chou
  2025-06-18 20:17 ` [PATCH 1/1] Makefile: Use -Wno-error=unused-result Cheng-Yang Chou
  2025-06-29  8:21 ` [PATCH 0/1] Makefile: Temporarily suppress -Werror=unused-result Cheng-Yang Chou
  0 siblings, 2 replies; 4+ messages in thread
From: Cheng-Yang Chou @ 2025-06-18 20:17 UTC (permalink / raw)
  To: williams, jkacur; +Cc: linux-rt-users, jserv, yphbchou0911

This patch adds -Wno-error=unused-result to the Makefile to allow rt-tests
to build on glibc >= 2.41, where functions like write(), system(), and
ftruncate() are annotated with warn_unused_result. The build currently
fails due to these ignored return values being treated as fatal errors
under -Werror.

This change serves as a temporary workaround. A follow-up patch will
address proper error checking at each affected call site.

Thanks.

-chengyang

---

Cheng-Yang Chou (1):
  Makefile: Use -Wno-error=unused-result

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-01 14:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 20:17 [PATCH 0/1] Makefile: Temporarily suppress -Werror=unused-result Cheng-Yang Chou
2025-06-18 20:17 ` [PATCH 1/1] Makefile: Use -Wno-error=unused-result Cheng-Yang Chou
2025-07-01 14:25   ` John Kacur
2025-06-29  8:21 ` [PATCH 0/1] Makefile: Temporarily suppress -Werror=unused-result Cheng-Yang Chou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).