VirtualBox

Changeset 62441 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Jul 22, 2016 1:14:33 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108994
Message:

Config.kmk: Enabled MSC level 4 warnings for VBoxR0 and VBoxRC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r62407 r62441  
    36743674 # Template for building RC things.
    36753675 #
     3676 # Disabled Visual C++ warnings:
     3677 #     -wd4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data
     3678 #     -wd4996: deprecated / insecure.
     3679 #     -wd4127: conditional expression is constant [level 4]
     3680 #     -wd4100: 'identifier' : unreferenced formal parameter [level 4]
     3681 #     -wd4214: nonstandard extension used : bit field types other than int [level 4]
     3682 #     -wd4706: assignment within conditional expression [level 4]
     3683 #     -wd4201: nonstandard extension used : nameless struct/union [level 4]
     3684 #     -wd4505: 'iemRaisePageFaultJmp' : unreferenced local function has been removed
     3685 #     -wd4510: 'VM::<unnamed-tag>' : default constructor could not be generated
     3686 #     -wd4512: 'VM' : assignment operator could not be generated
     3687 #     -wd4610: union 'VM::<unnamed-tag>' can never be instantiated - user defined constructor required
     3688 #
    36763689 TEMPLATE_VBoxRc = VBox Raw-Mode Context
    36773690 TEMPLATE_VBoxRc_ASTOOL              = $(VBOX_ASTOOL)
     
    36963709  TEMPLATE_VBoxRc_TOOL               = $(VBOX_VCC_TOOL_STEM)X86
    36973710  TEMPLATE_VBoxRc_RCDEFS             = VBOX_SVN_REV=$(VBOX_SVN_REV) VBOX_SVN_REV_MOD_5K=$(expr $(VBOX_SVN_REV) % 50000)
    3698   ifdef TODO_MORE_WARNINGS
    3699    TEMPLATE_VBoxRc_CXXFLAGS          = -Zi -Zl -GR- -EHs- -GF -GS- -Zc:wchar_t- -Gs8192 $(VBOX_VCC_GC_OPT) $(VBOX_VCC_GC_FP) -W4 -wd4244 -wd4996 -wd4127 -wd4100 -wd4214 -wd4706 $(VBOX_VCC_WERR)
    3700   else
    3701    TEMPLATE_VBoxRc_CXXFLAGS          = -Zi -Zl -GR- -EHs- -GF -GS- -Zc:wchar_t- -Gs8192 $(VBOX_VCC_GC_OPT) $(VBOX_VCC_GC_FP) -W3 -wd4244 -wd4996 $(VBOX_VCC_WERR)
    3702   endif
     3711  TEMPLATE_VBoxRc_CXXFLAGS          = -Zi -Zl -GR- -EHs- -GF -GS- -Zc:wchar_t- -Gs8192 $(VBOX_VCC_GC_OPT) $(VBOX_VCC_GC_FP) \
     3712        -W4 -wd4244 -wd4996 -wd4127 -wd4100 -wd4214 -wd4706 -wd4201 -wd4505 -wd4510 -wd4512 -wd4610 $(VBOX_VCC_WERR)
    37033713  TEMPLATE_VBoxRc_CFLAGS             = $(TEMPLATE_VBoxRc_CXXFLAGS)
    37043714  TEMPLATE_VBoxRc_LDFLAGS            =  -Ignore:4197 \
     
    38113821# Template for building R0 things.
    38123822#
     3823# Disabled Visual C++ warnings:
     3824#     -wd4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data
     3825#     -wd4996: deprecated / insecure.
     3826#     -wd4127: conditional expression is constant [level 4]
     3827#     -wd4100: 'identifier' : unreferenced formal parameter [level 4]
     3828#     -wd4214: nonstandard extension used : bit field types other than int [level 4]
     3829#     -wd4706: assignment within conditional expression [level 4]
     3830#     -wd4201: nonstandard extension used : nameless struct/union [level 4]
     3831#     -wd4505: 'iemRaisePageFaultJmp' : unreferenced local function has been removed
     3832#     -wd4510: 'VM::<unnamed-tag>' : default constructor could not be generated
     3833#     -wd4512: 'VM' : assignment operator could not be generated
     3834#     -wd4610: union 'VM::<unnamed-tag>' can never be instantiated - user defined constructor required
     3835#
    38133836TEMPLATE_VBoxR0 = VBox Ring 0
    38143837TEMPLATE_VBoxR0_ASTOOL              = $(VBOX_ASTOOL)
     
    38323855TEMPLATE_VBoxR0_TOOL                = $(VBOX_VCC_TOOL)
    38333856TEMPLATE_VBoxR0_RCDEFS              = VBOX_SVN_REV=$(VBOX_SVN_REV) VBOX_SVN_REV_MOD_5K=$(expr $(VBOX_SVN_REV) % 50000)
    3834  ifdef TODO_MORE_WARNINGS
    3835 TEMPLATE_VBoxR0_CXXFLAGS            = -Zi -Zl -GR- -EHs- -GF -GS- -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) -W4 -wd4244 -wd4127 -wd4100 -wd4214 -wd4706 -wd4996 $(VBOX_VCC_WERR)
    3836  else
    3837 TEMPLATE_VBoxR0_CXXFLAGS            = -Zi -Zl -GR- -EHs- -GF -GS- -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) -W3 -wd4244 -wd4996 $(VBOX_VCC_WERR)
    3838  endif
     3857TEMPLATE_VBoxR0_CXXFLAGS            = -Zi -Zl -GR- -EHs- -GF -GS- -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) \
     3858        -W4 -wd4244 -wd4996 -wd4127 -wd4100 -wd4214 -wd4706 -wd4201 -wd4505 -wd4510 -wd4512 -wd4610 $(VBOX_VCC_WERR)
    38393859TEMPLATE_VBoxR0_CFLAGS              = $(TEMPLATE_VBoxR0_CXXFLAGS)
    38403860TEMPLATE_VBoxR0_LDFLAGS             = -Ignore:4197 \
     
    42414261# Template for building R3 executables and static libraries which are linked into executables.
    42424262# Note! This is the base template for a whole lot of other ones, so be careful when changing it.
     4263#
     4264# Disabled Visual C++ warnings:
     4265#      -wd4065: switch statement contains 'default' but no 'case' labels
     4266#      -wd4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data
     4267#      -wd4996: deprecated / insecure.
    42434268#
    42444269TEMPLATE_VBOXR3EXE                     = VBox Ring 3 Exe
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