In musl/src/math/lgamma*.c we have a known warning wrongly complaining about a "maybe uninitialized" variable.
We already made sure this warning doesn't cause a compilation error, but let's not show this warning at all. Instead, we could have fixed the source file to not cause this warning. But we took this file unmodified from Musl, and don't want to modify it just to get rid of a warning. Signed-off-by: Nadav Har'El <n...@scylladb.com> --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 94ac0b1..f8b4847 100644 --- a/Makefile +++ b/Makefile @@ -1181,12 +1181,12 @@ musl += math/ldexpf.o musl += math/ldexpl.o musl += math/lgamma.o musl += math/lgamma_r.o -$(out)/musl/src/math/lgamma_r.o: CFLAGS += -Wno-error=maybe-uninitialized +$(out)/musl/src/math/lgamma_r.o: CFLAGS += -Wno-maybe-uninitialized musl += math/lgammaf.o musl += math/lgammaf_r.o -$(out)/musl/src/math/lgammaf_r.o: CFLAGS += -Wno-error=maybe-uninitialized +$(out)/musl/src/math/lgammaf_r.o: CFLAGS += -Wno-maybe-uninitialized musl += math/lgammal.o -$(out)/musl/src/math/lgammal.o: CFLAGS += -Wno-error=maybe-uninitialized +$(out)/musl/src/math/lgammal.o: CFLAGS += -Wno-maybe-uninitialized #musl += math/llrint.o #musl += math/llrintf.o #musl += math/llrintl.o -- 2.9.3 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.