Changeset 84411 in vbox
- Timestamp:
- May 20, 2020 2:31:23 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138108
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r84392 r84411 3191 3191 VBOX_VCC120_WARN_ALL := $(VBOX_VCC_WARN_ALL) 3192 3192 endif 3193 if 1of ($(VBOX_VCC_TOOL_STEM), VCC141 VCC142)3193 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 3194 3194 # -wd5045: Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified 3195 3195 # -wd5039: 'RTStrSpaceDestroy': pointer or reference to potentially throwing function passed to extern C function under -EHc. Undefined behavior may occur if this function throws an exception. … … 4052 4052 $(RM) -f -- "$@" 4053 4053 $(CP) -- "$(quote-sh-dq $<)" "$@" 4054 $(CHMOD) a+rw -- "$@" 4054 4055 $(VBOX_VCC_EDITBIN) /LargeAddressAware /DynamicBase /NxCompat /Release /IntegrityCheck \ 4055 4056 /Version:$(VBOX_VERSION_MAJOR)0$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ … … 4073 4074 $(RM) -f -- "$@" 4074 4075 $(CP) -- "$<" "$@" 4076 $(CHMOD) a+rw -- "$@" 4075 4077 $(VBOX_VCC_EDITBIN) /LargeAddressAware /DynamicBase /NxCompat /Release /IntegrityCheck \ 4076 4078 /Version:$(VBOX_VERSION_MAJOR)0$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD) \ … … 4704 4706 ifeq ($(KBUILD_TARGET),win) 4705 4707 TEMPLATE_VBOXR0DRV_TOOL = $(VBOX_VCC_TOOL) 4706 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1" # for stddef.h4708 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" # for stddef.h ## @todo 8489: check if still needed 4707 4709 TEMPLATE_VBOXR0DRV_SDKS = WINSDK10-UCRT-INCS 4708 4710 endif … … 5223 5225 TEMPLATE_VBOXR3EXE_TOOL.win.amd64 = $(VBOX_VCC_TOOL_STEM)AMD64 5224 5226 TEMPLATE_VBOXR3EXE_RCDEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) VBOX_SVN_REV_MOD_5K=$(expr $(VBOX_SVN_REV) % 50000) 5225 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"5227 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 5226 5228 TEMPLATE_VBOXR3EXE_SDKS = ReorderCompilerIncs WINSDK10-UCRT $(VBOX_WINPSDK) 5227 5229 else … … 5258 5260 endif 5259 5261 5260 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"5262 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 5261 5263 TEMPLATE_VBOXR3EXE_LIBS.x86 = \ 5262 5264 $(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.x86)_LIB)/vcruntime$(VBOX_VCC_CRT_TYPE).lib \ … … 5531 5533 TEMPLATE_VBOXR3STATIC_DEFS = IN_RT_STATIC IN_RT_R3 IN_SUP_STATIC $(TEMPLATE_VBOXR3EXE_DEFS) 5532 5534 ifeq ($(KBUILD_TARGET),win) 5533 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"5535 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 5534 5536 TEMPLATE_VBOXR3STATIC_SDKS = $(subst WINSDK10-UCRT, WINSDK10-UCRT-STATIC,$(TEMPLATE_VBOXR3EXE_SDKS)) 5535 5537 endif … … 5551 5553 /DISALLOWLIB:ucrt.lib \ 5552 5554 /DISALLOWLIB:ucrtd.lib 5553 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"5555 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 5554 5556 TEMPLATE_VBOXR3STATIC_LIBS.x86 = \ 5555 5557 $(PATH_TOOL_$(TEMPLATE_VBOXR3STATIC_TOOL.win.x86)_LIB)/libvcruntime$(VBOX_VCC_CRT_TYPE).lib \ … … 6221 6223 TEMPLATE_VBOXMAINEXE_TOOL.win.x86 = $(VBOX_VCC_TOOL_STEM)X86 6222 6224 TEMPLATE_VBOXMAINEXE_TOOL.win.amd64 = $(VBOX_VCC_TOOL_STEM)AMD64 6223 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"6225 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 6224 6226 TEMPLATE_VBOXMAINEXE_SDKS = ReorderCompilerIncs WINSDK10-UCRT $(VBOX_WINPSDK) $(VBOX_WINDDK) 6225 6227 else … … 6267 6269 TEMPLATE_VBOXMAINEXE_LIBS = \ 6268 6270 $(LIB_RUNTIME) 6269 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"6271 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 6270 6272 TEMPLATE_VBOXMAINEXE_LIBS.x86 = \ 6271 6273 $(PATH_TOOL_$(TEMPLATE_VBOXMAINEXE_TOOL.win.x86)_LIB)/vcruntime$(VBOX_VCC_CRT_TYPE).lib \ … … 6836 6838 # Note! No use of VBOX_VCC_CRT_TYPE here yet as it requires a /MDd build of Qt as well. 6837 6839 TEMPLATE_VBOXQTGUIEXE_TOOL = $(VBOX_VCC_TOOL) 6838 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"6840 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 6839 6841 TEMPLATE_VBOXQTGUIEXE_SDKS = WINSDK10-UCRT 6840 6842 endif … … 6856 6858 TEMPLATE_VBOXQTGUIEXE_CXXFLAGS += -wd4619 6857 6859 endif 6858 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"6860 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 6859 6861 # -wd4774: string(530): warning C4774: '_scprintf' : format string expected in argument 1 is not a string literal 6860 6862 # -wd4456: UICommon.cpp(1471): warning C4456: declaration of '_container_' hides previous local declaration [nested foreach] … … 6879 6881 endif 6880 6882 TEMPLATE_VBOXQTGUIEXE_SDKS += $(VBOX_WINPSDK) 6881 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"6883 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 6882 6884 TEMPLATE_VBOXQTGUIEXE_LIBS = \ 6883 6885 $(VBOX_LIBS_QT) \ … … 7106 7108 ifeq ($(KBUILD_HOST),win) 7107 7109 TEMPLATE_VBoxBldProg_TOOL := $(VBOX_VCC_TOOL_STEM)$(toupper $(KBUILD_HOST_ARCH)) 7108 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"7110 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 7109 7111 TEMPLATE_VBoxBldProg_SDKS := ReorderCompilerIncs WINSDK10-UCRT-STATIC $(VBOX_WINPSDK) 7110 7112 else … … 7144 7146 /DISALLOWLIB:ucrt.lib \ 7145 7147 /DISALLOWLIB:ucrtd.lib 7146 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"7148 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 7147 7149 TEMPLATE_VBoxBldProg_LIBS = \ 7148 7150 $(PATH_TOOL_$(TEMPLATE_VBoxBldProg_TOOL)_LIB)/libvcruntime$(VBOX_VCC_CRT_TYPE).lib \ … … 7348 7350 ifeq ($(KBUILD_TARGET),win) 7349 7351 TEMPLATE_VBOXGUESTR3EXE_EXTENDS = VBOXR3EXE 7350 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"7352 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 7351 7353 TEMPLATE_VBOXGUESTR3EXE_SDKS = ReorderCompilerIncs WINSDK10-UCRT-STATIC $(VBOX_WINPSDK_GST) VBOX_NTDLL 7352 7354 else … … 7365 7367 /DISALLOWLIB:vcruntime$(VBOX_VCC_CRT_TYPE).lib \ 7366 7368 /DISALLOWLIB:ucrt$(VBOX_VCC_CRT_TYPE).lib 7367 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"7369 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 7368 7370 TEMPLATE_VBOXGUESTR3EXE_LIBS.x86 = \ 7369 7371 $(PATH_TOOL_$(TEMPLATE_VBOXGUESTR3EXE_TOOL.win.x86)_LIB)/libvcruntime$(VBOX_VCC_CRT_TYPE).lib \ -
trunk/src/VBox/Additions/3D/win/VBoxGL/Makefile.kmk
r83832 r84411 28 28 # -wd4005: '__useHeader' : redefinition 29 29 VBoxGL_CFLAGS := -wd4005 30 if "$(VBOX_NEWER_VCC_TOOL_STEM)" >= "VCC14 1"30 if "$(VBOX_NEWER_VCC_TOOL_STEM)" >= "VCC140" 31 31 # -wd4204: nonstandard extension used: non-constant aggregate initializer 32 32 # -wd4459: stw_device.h(102): warning C4459: declaration of 'stw_dev' hides global declaration -
trunk/src/VBox/Devices/Makefile.kmk
r83941 r84411 1482 1482 TEMPLATE_VBoxSVGA3D_EXTENDS := $(if-expr "$(KBUILD_TARGET)" == "darwin" && !defined(VBOX_WITH_NEW_XCODE),VBoxR3DllOsX107,VBOXR3) 1483 1483 TEMPLATE_VBoxSVGA3D_CFLAGS = $(filter-out -pedantic -Wstrict-prototypes,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CFLAGS)) 1484 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"1484 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 1485 1485 # -wd4777: glsl_shader.c(1542): warning C4777: 'sprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 2 has type 'DWORD' 1486 1486 TEMPLATE_VBoxSVGA3D_CFLAGS.win = $(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CFLAGS.win) \ -
trunk/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk
r83810 r84411 65 65 TEMPLATE_VBoxR3ExtPackDTrace_INST = $(INST_EXTPACK_VBOXDTRACE)$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/ 66 66 TEMPLATE_VBoxR3ExtPackDTrace_DEFS = $(TEMPLATE_VBoxR3ExtPack_DEFS) VBOX_IN_DTRACE_EXTPACK 67 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"67 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 68 68 # -wd4456: declaration of 'rval' hides previous local declaration 69 69 # -wd4477: 'fprintf' : format string '%02lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'ulong_t' -
trunk/src/VBox/Main/include/SessionImpl.h
r83788 r84411 29 29 #endif 30 30 31 #if defined(RT_OS_WINDOWS) && !RT_MSC_PREREQ(RT_MSC_VER_VC14 1)31 #if defined(RT_OS_WINDOWS) && !RT_MSC_PREREQ(RT_MSC_VER_VC140) 32 32 [threading(free)] 33 33 #endif -
trunk/src/VBox/Main/webservice/Makefile.kmk
r83889 r84411 216 216 TEMPLATE_VBOXWEBR3EXE_CXXFLAGS += $(VBOX_GCC_Wno-misleading-indentation) 217 217 endif 218 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"218 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 219 219 # -wd4774: string(532): warning C4774: 'sprintf_s' : format string expected in argument 3 is not a string literal 220 220 # -wd4458: stdsoap2.h(2644): warning C4458: declaration of 'type' hides class member … … 339 339 $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4756 # v2.8.36/stdsoap2.cpp(14008) : warning C4756: overflow in constant arithmetic 340 340 endif 341 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"341 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 342 342 $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4456 # stdsoap2.cpp(3127): warning C4456: declaration of 'i' hides previous local declaration 343 343 endif … … 386 386 . 387 387 vboxwebsrv_CXXFLAGS.win += -bigobj 388 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"388 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 389 389 vboxwebsrv_CXXFLAGS.win += -wd4774 # string(532): warning C4774: 'sprintf_s' : format string expected in argument 3 is not a string literal 390 390 vboxwebsrv_CXXFLAGS.win += -wd4458 # stdsoap2.h(2644): warning C4458: declaration of 'type' hides class member -
trunk/src/libs/libxml2-2.9.4/Makefile.kmk
r83765 r84411 37 37 VBox-libxml2_CFLAGS.win += -wd4005 # sdk\v7.1\include\sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition 38 38 endif 39 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC14 1"39 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140" 40 40 VBox-libxml2_CFLAGS.win += -wd4777 # timsort.h(326): warning C4777: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'unsigned int' 41 41 VBox-libxml2_CFLAGS.win += -wd4477 # timsort.h(326): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 1 has type 'size_t'
Note:
See TracChangeset
for help on using the changeset viewer.