Source-Changes archive

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

CVS commit: src/tests/lib/libpthread



Module Name:    src
Committed By:   riastradh
Date:           Tue Apr  8 13:30:45 UTC 2025

Modified Files:
        src/tests/lib/libpthread: Makefile

Log Message:
tests/lib/libpthread/t_compat_cancel: Make linker warnings non-fatal.

We will get warnings like:

/home/riastradh/netbsd/current/src/tests/lib/libpthread/t_compat_cancel.c:233: warning: warning: reference to compatibility sigsuspend(); include <signal.h> for correct reference

This is intended -- t_compat_cancel deliberately uses the compat
symbols, not the modern symbols, in order to test the compat symbols.

Fixes clang build because bsd.sys.mk enables -Wl,--fatal-warnings in
LDFLAGS by default.

PR lib/59240: POSIX.1-2024: cancellation point audit
PR lib/59247: pthread_cancelstub.c is inadequately tested


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/tests/lib/libpthread/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index