VirtualBox

Changeset 83817 in vbox for trunk/src/VBox/Main/webservice


Ignore:
Timestamp:
Apr 19, 2020 12:51:58 AM (5 years ago)
Author:
vboxsync
Message:

webservice: VC++ 14.1 adjustments. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r83652 r83817  
    215215ifn1of ($(KBUILD_TARGET), win)
    216216TEMPLATE_VBOXWEBR3EXE_CXXFLAGS += $(VBOX_GCC_Wno-misleading-indentation)
     217endif
     218if "$(VBOX_VCC_TOOL_STEM)" >= "VCC141"
     219 # -wd4774: string(532): warning C4774: 'sprintf_s' : format string expected in argument 3 is not a string literal
     220 # -wd4458: stdsoap2.h(2644): warning C4458: declaration of 'type' hides class member
     221 TEMPLATE_VBOXWEBR3EXE_CXXFLAGS.win = $(TEMPLATE_VBOXR3EXE_CXXFLAGS.win) -wd4774 -wd4458
    217222endif
    218223
     
    333338    $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4756 # v2.8.36/stdsoap2.cpp(14008) : warning C4756: overflow in constant arithmetic
    334339   endif
     340   if "$(VBOX_VCC_TOOL_STEM)" >= "VCC141"
     341    $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4456 # stdsoap2.cpp(3127): warning C4456: declaration of 'i' hides previous local declaration
     342   endif
    335343  endif
    336344
     
    377385        .
    378386 vboxwebsrv_CXXFLAGS.win += -bigobj
     387 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC141"
     388  vboxwebsrv_CXXFLAGS.win += -wd4774 # string(532): warning C4774: 'sprintf_s' : format string expected in argument 3 is not a string literal
     389  vboxwebsrv_CXXFLAGS.win += -wd4458 # stdsoap2.h(2644): warning C4458: declaration of 'type' hides class member
     390 endif
    379391 ifn1of ($(KBUILD_TARGET), win)
    380392  vboxwebsrv_CXXFLAGS += -Wno-shadow $(VBOX_GCC_Wno-literal-suffix) $(VBOX_GCC_Wno-misleading-indentation)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette