VirtualBox

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


Ignore:
Timestamp:
Mar 5, 2020 11:31:08 PM (5 years ago)
Author:
vboxsync
Message:

Webservices warning fixes (gcc 9.2).

File:
1 edited

Legend:

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

    r83213 r83214  
    210210TEMPLATE_VBOXWEBR3EXE_CXXFLAGS = $(filter-out $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden),\
    211211                                 $(TEMPLATE_VBOXR3EXE_CXXFLAGS))
     212ifn1of ($(KBUILD_TARGET), win)
     213TEMPLATE_VBOXWEBR3EXE_CXXFLAGS += $(VBOX_GCC_Wno-misleading-indentation)
     214endif
    212215
    213216ifdef VBOX_GSOAP_INSTALLED
     
    293296        -Wno-format \
    294297        $(VBOX_GCC_Wno-int-in-bool-context) \
    295         $(if $(VBOX_GCC_Wlogical-op),-Wno-error=logical-op,)
     298        $(VBOX_GCC_Wno-logical-op)
    296299   # currently necessary when compiling against OpenSSL 1.0 due to a missing
    297300   # typecase from 'const v3_ext_method*' to 'aka v3_ext_method*'.
     
    356359 vboxwebsrv_CXXFLAGS.win += -bigobj
    357360 ifn1of ($(KBUILD_TARGET), win)
    358   vboxwebsrv_CXXFLAGS += -Wno-shadow $(VBOX_GCC_Wno-literal-suffix)
     361  vboxwebsrv_CXXFLAGS += -Wno-shadow $(VBOX_GCC_Wno-literal-suffix) $(VBOX_GCC_Wno-misleading-indentation)
    359362  ifn1of ($(KBUILD_TYPE), debug) # Save time+memory by using -O1 instead of -O2.
    360363   vboxwebsrv_CXXFLAGS += -O0
     
    374377        $(VBOXWEB_OUT_DIR)/methodmaps.cpp \
    375378        $(VBOXWEB_OUT_DIR)/soapServer.cpp \
    376     $(VBOXWEB_OUT_DIR)/vboxweb-wsdl.c
     379        $(VBOXWEB_OUT_DIR)/vboxweb-wsdl.c
    377380 vboxwebsrv_SOURCES.win = \
    378381        VBoxWebSrv.rc
     
    380383        $(VBOXWEB_OUT_DIR)/methodmaps.cpp \
    381384        $(VBOXWEB_OUT_DIR)/soapServer.cpp \
    382     $(VBOXWEB_OUT_DIR)/vboxweb-wsdl.c
    383  # gcc 6.2 warns about aborting misleading indentation detection (too much code)
    384  vboxweb.cpp_CXXFLAGS = \
    385         $(VBOX_GCC_Wno-misleading-indentation)
     385        $(VBOXWEB_OUT_DIR)/vboxweb-wsdl.c
    386386 vboxwebsrv_ORDERDEPS = $(VBOXWEB_OUT_DIR)/gsoap_copy_all_ts
    387387 endif # !VBOX_ONLY_SDK
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