[PATCH 0/1] Makefile: Temporarily suppress -Werror=unused-result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux