VirtualBox

Changeset 83213 in vbox for trunk/src/VBox/Main


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

webservices/Makefile.kmk: Don't split soap for gcc 9.2+. Ignore deprecated crypto functions in stdsoap2.cpp.

File:
1 edited

Legend:

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

    r82968 r83213  
    197197        $(VBOXWEB_GSOAPH_FROM_XSLT)
    198198
     199
     200# GCC 9.2 doesn't cope well with the split files (internal error), so
     201# don't do it there.
     202if !defined(VBOX_WITHOUT_SPLIT_SOAPC) && !defined(VBOX_WITH_SPLIT_SOAPC) && $(VBOX_GCC_VERSION_CXX) >= 90200
     203 VBOX_WITHOUT_SPLIT_SOAPC := 1
     204endif
    199205
    200206# disable -fvisibility=hidden as the SOAP stuff does not properly set the visibility attributes
     
    286292   $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS = \
    287293        -Wno-format \
    288          $(VBOX_GCC_Wno-int-in-bool-context) \
     294        $(VBOX_GCC_Wno-int-in-bool-context) \
    289295        $(if $(VBOX_GCC_Wlogical-op),-Wno-error=logical-op,)
    290296   # currently necessary when compiling against OpenSSL 1.0 due to a missing
    291297   # typecase from 'const v3_ext_method*' to 'aka v3_ext_method*'.
    292298   $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS += -fpermissive
     299   # Necessary with gcc 9.2.1 for some reason:
     300   $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS += -Wno-deprecated-declarations
     301
    293302
    294303  endif
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