VirtualBox

Changeset 66832 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 8, 2017 4:59:13 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115280
Message:

Main: Adjustments for Visual C++ v12 / Visual Studio 2013. New warnings.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

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

    r66704 r66832  
    13041304                '#pragma warning(push) /* -Wall and windows.h */' \
    13051305                '#pragma warning(disable:4668 4255)' \
     1306                '#if _MSC_VER >= 1800 /* RT_MSC_VER_VC120 */' \
     1307                '# pragma warning(disable:4005)' \
     1308                '#endif' \
    13061309               ''
    13071310        $(QUIET)$(CAT_EXT) "$1.tmp" >> "$1"
  • trunk/src/VBox/Main/cbinding/capiidl.xsl

    r66274 r66832  
    9898# pragma warning(push)
    9999# pragma warning(disable:4668 4255) /* -Wall and windows.h */
     100# if _MSC_VER >= 1800 /*RT_MSC_VER_VC120*/
     101#  pragma warning(disable:4005) /* sdk/v7.1/include/sal_supp.h(57) : warning C4005: '__useHeader' : macro redefinition */
     102# endif
    100103# undef COBJMACROS
    101104# define COBJMACROS
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r64069 r66832  
    292292   $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4211 # nonstandard extension used: redefined extern to static
    293293   $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4310 # cast truncates constant value
     294   if1of ($(VBOX_VCC_TOOL_STEM), VCC120)
     295    $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4056 # v2.8.36/stdsoap2.cpp(14008) : warning C4056: overflow in floating-point constant arithmetic
     296    $(VBOX_GSOAP_CXX_SOURCES)_CXXFLAGS.win += -wd4756 # v2.8.36/stdsoap2.cpp(14008) : warning C4756: overflow in constant arithmetic
     297   endif
    294298  endif
    295299
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette