From 32c417d7880c35c4f97ccb5f2bd8427a957514fb Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 1 Feb 2021 13:03:32 -0500 Subject: [PATCH] Windows nmake build warnings during compiles of Lua sources --- sys/winnt/Makefile.msc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/winnt/Makefile.msc b/sys/winnt/Makefile.msc index 941ef40ad..3565f2570 100644 --- a/sys/winnt/Makefile.msc +++ b/sys/winnt/Makefile.msc @@ -837,7 +837,7 @@ DLB = #========================================== {$(LUASRC)}.c{$(OBJ)}.o: - @$(cc) $(cflagsBuild) $(CROSSCOMPILE) $(CROSSCOMPILE_TARGET) -Fo$@ $< + @$(cc) $(cflagsBuild) -wd4701 -wd4702 $(CROSSCOMPILE) $(CROSSCOMPILE_TARGET) -Fo$@ $< #========================================== #=============== TARGETS ================== @@ -1445,7 +1445,7 @@ $(O)lua$(LUAVER)-static.lib: $(LUAOBJFILES) $(O)lua.o: $(LUASRC)\lua.c $(O)luac.o: $(LUASRC)\luac.c $(O)lapi.o: $(LUASRC)\lapi.c - @$(cc) $(cflagsBuild) $(CROSSCOMPILE) $(CROSSCOMPILE_TARGET) -wd4244 -Fo$@ $(LUASRC)\lapi.c + @$(cc) $(cflagsBuild) $(CROSSCOMPILE) $(CROSSCOMPILE_TARGET) -wd4244 -wd4701 -wd4702 -Fo$@ $(LUASRC)\lapi.c #=================================================================== # sys/winnt dependencies