On Mon, 22 Mar 2021 at 14:37, Kyle Evans <[email protected]> wrote: > > On Mon, Mar 22, 2021 at 7:01 AM Alex Richardson <[email protected]> > wrote: > > > > The branch main has been updated by arichardson: > > > > URL: > > https://cgit.FreeBSD.org/src/commit/?id=87d65c747a4389901c2bbbcb1ec4878b2df7b32c > > > > commit 87d65c747a4389901c2bbbcb1ec4878b2df7b32c > > Author: Alex Richardson <[email protected]> > > AuthorDate: 2021-02-25 14:28:17 +0000 > > Commit: Alex Richardson <[email protected]> > > CommitDate: 2021-03-22 11:55:07 +0000 > > > > lib/msun: Allow building tests with WARNS=6 > > > > The only change needed is to mark a few variables as static. > > --- > > contrib/netbsd-tests/lib/libm/t_ldexp.c | 19 +++++++++---------- > > contrib/netbsd-tests/lib/libm/t_precision.c | 4 ++-- > > contrib/netbsd-tests/lib/libm/t_round.c | 2 +- > > contrib/netbsd-tests/lib/libm/t_scalbn.c | 2 +- > > lib/msun/tests/Makefile | 2 +- > > 5 files changed, 14 insertions(+), 15 deletions(-) > > > > [... snip ...] > > diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile > > index 309f49c6dddd..4ef25c0a909a 100644 > > --- a/lib/msun/tests/Makefile > > +++ b/lib/msun/tests/Makefile > > @@ -88,7 +88,7 @@ SRCS.ilogb2_test= ilogb_test.c > > > > LIBADD+= m > > > > -WARNS?= 1 > > +WARNS?= 6 > > > > # Copied from lib/msun/Makefile > > .if ${MACHINE_CPUARCH} == "i386" > > Hi, > > IMO, we should go ahead and drop this WARNS entirely now that it's the > default -- I changed it a while back so that all depths of userland > should get a natural WARNS=6 if it's undefined. > > Thanks, > > Kyle Evans
Hi Kyle, I forgot that it's the default now. Will commit a change shortly to remove it. Alex _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "[email protected]"
