VirtualBox

Changeset 66825 in vbox for trunk/src/libs


Ignore:
Timestamp:
May 8, 2017 4:52:53 PM (8 years ago)
Author:
vboxsync
Message:

src/libs: Adjustments for Visual C++ v12 / Visual Studio 2013. New warnings and sal_supp.h conflict.

File:
1 edited

Legend:

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

    r65950 r66825  
    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?]
     34if1of ($(VBOX_VCC_TOOL_STEM), VCC120)
     35 VBox-libxml2_CFLAGS.win   += -wd4311 # parser.c(1346) : warning C4311: 'type cast' : pointer truncation from 'void *' to 'long'
     36 VBox-libxml2_CFLAGS.win   += -wd4312 # parser.c(1327) : warning C4312: 'type cast' : conversion from 'long' to 'void *' of greater size
     37 VBox-libxml2_CFLAGS.win   += -wd4005 # sdk\v7.1\include\sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition
     38endif
    3439ifn1of ($(KBUILD_TARGET), win)
    3540 VBox-libxml2_CFLAGS        = -Wno-format-security -Wno-strict-prototypes
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