From a08b2e254ab1ea0b6feafb70a6420ff3b12a6bec Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 15 Nov 2023 13:28:50 -0500 Subject: [PATCH] get rid of a warning during our pdcursesmod build ../lib/pdcursesmod/dos/../common/dosutil.c:36:15: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare] 36 | while( ms > MAX_NAP_SPAN) | ^ It isn't something that we can actually resolve within NetHack, so just suppress the submodule build warning. This commit will trigger the CI to carry out a test of the build. There could be some follow-up after the results. --- sys/unix/hints/include/cross-post.370 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/unix/hints/include/cross-post.370 b/sys/unix/hints/include/cross-post.370 index 7be198461..c2ca507fd 100644 --- a/sys/unix/hints/include/cross-post.370 +++ b/sys/unix/hints/include/cross-post.370 @@ -264,6 +264,9 @@ $(TARGETPFX)pdckbd.o : $(PDCPORT)/pdckbd.c $(TARGETPFX)pdcscrn.o : $(PDCPORT)/pdcscrn.c $(TARGETPFX)pdcsetsc.o : $(PDCPORT)/pdcsetsc.c $(TARGETPFX)pdcutil.o : $(PDCPORT)/pdcutil.c + $(TARGET_CC) $(PDCINCL) $(PDC_TARGET_CFLAGS) \ + -Wno-sign-compare -o$@ $(PDCPORT)/pdcutil.c +# -Wno-sign-compare endif # BUILD_PDCURSES # # End of cross-compiling -POST section