VirtualBox

Changeset 83765 in vbox


Ignore:
Timestamp:
Apr 17, 2020 3:27:59 PM (5 years ago)
Author:
vboxsync
Message:

libxml2: VC++ 14.1 build tweaking. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/libxml2-2.9.4/Makefile.kmk

    r74653 r83765  
    3232VBox-libxml2_CFLAGS.win    += -wd4305 # 'type cast' : truncation from 'xmlChar *' to 'long'
    3333VBox-libxml2_CFLAGS.win    += -wd4306 # 'type cast' : conversion from 'long' to 'void *' of greater size [TODO: check these out?]
    34 if1of ($(VBOX_VCC_TOOL_STEM), VCC120)
     34if "$(VBOX_VCC_TOOL_STEM)" >= "VCC120"
    3535 VBox-libxml2_CFLAGS.win   += -wd4311 # parser.c(1346) : warning C4311: 'type cast' : pointer truncation from 'void *' to 'long'
    3636 VBox-libxml2_CFLAGS.win   += -wd4312 # parser.c(1327) : warning C4312: 'type cast' : conversion from 'long' to 'void *' of greater size
    3737 VBox-libxml2_CFLAGS.win   += -wd4005 # sdk\v7.1\include\sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition
     38endif
     39if "$(VBOX_VCC_TOOL_STEM)" >= "VCC141"
     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 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'
    3842endif
    3943ifn1of ($(KBUILD_TARGET), win)
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