VirtualBox

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

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

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine_new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/Makefile.kmk

    r65381 r66826  
    5252TEMPLATE_VBoxGuestWineDLL_CFLAGS = $(filter-out -WX,$(TEMPLATE_VBoxGuestR3Dll_CFLAGS)) \
    5353        -wd4100  -wd4204 -wd4245 -wd4305 -wd4018 -wd4389 -wd4221 -wd4334 -wd4267
     54if1of ($(VBOX_VCC_TOOL_STEM), VCC120)
     55  # -wd4005: v7.1\include\sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition
     56  # -wd4133: swapchain.c(384) : warning C4133: 'function' : incompatible types - from 'IDirect3DSwapChain9 *' to 'IDirect3DSwapChain9Ex *'
     57 TEMPLATE_VBoxGuestWineDLL_CFLAGS += -wd4005 -wd4133
     58endif
    5459
    5560#
     
    6570TEMPLATE_VBoxGuestWineD3DxDLL_DEFS = VBOX_WINE_WITH_IPRT
    6671TEMPLATE_VBoxGuestWineD3DxDLL_CFLAGS = -wd4100  -wd4204 -wd4245 -wd4305
     72if1of ($(VBOX_VCC_TOOL_STEM), VCC120)
     73 TEMPLATE_VBoxGuestWineD3DxDLL_CFLAGS += -wd4005
     74endif
    6775TEMPLATE_VBoxGuestWineD3DxDLL_LIBS = \
    6876        $(VBOX_LIB_IPRT_GUEST_R3) \
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/vbox/libWineStub/include/wine/port.h

    r48345 r66826  
    276276
    277277#ifndef HAVE_ISINF
     278# undef isinf /* VBox: _MSC_VER >= RT_MSC_VER_VC120 has complicated macro implementation in math.h */
    278279int isinf(double x);
    279280#endif
    280281
    281282#ifndef HAVE_ISNAN
     283# undef isnan /* VBox: _MSC_VER >= RT_MSC_VER_VC120 has complicated macro implementation in math.h */
    282284int isnan(double x);
    283285#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