Makefile: Temporarily suppress -Werror=unused-result
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | Makefile: Use -Wno-error=unused-resultMakefile | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] Makefile: Temporarily suppress -Werror=unused-result
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(-)
Signature · 1 line
2.48.1