VirtualBox

Changeset 62454 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Jul 22, 2016 3:25:29 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109007
Message:

Config.kmk: Enabled MSC level 4 warnings for VBoxBldProgs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r62444 r62454  
    57825782# Template for building build bldprogs.
    57835783#
     5784# Disabled Visual C++ warnings:
     5785#      -wd4065: switch statement contains 'default' but no 'case' labels
     5786#      -wd4996: deprecated / insecure.
     5787#      -wd4127: conditional expression is constant [level 4]
     5788#      -wd4706: assignment within conditional expression [level 4]
     5789#      -wd4201: nonstandard extension used : nameless struct/union [level 4]
     5790#      -wd4214: nonstandard extension used : bit field types other than int [level 4]
     5791#      -wd4510: 'VM::<unnamed-tag>' : default constructor could not be generated
     5792#      -wd4512: 'VM' : assignment operator could not be generated
     5793#      -wd4610: union 'VM::<unnamed-tag>' can never be instantiated - user defined constructor required
     5794#
     5795#      -wd4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data --- TODO: Enable this one!
     5796#      -wd4100: 'identifier' : unreferenced formal parameter [level 4] --- TODO: Enable this one!
     5797#
     5798#
    57845799# HACK ALERT! The BLD_TRG_* is a hack to allow building libraries as well.
    57855800#
     
    58165831 TEMPLATE_VBoxBldProg_SDKS              := ReorderCompilerIncs $(VBOX_WINPSDK)
    58175832 TEMPLATE_VBoxBldProg_CXXFLAGS          := -Zi -Zl -GR- -EHsc -GF -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP) -MT$(VBOX_VCC_CRT_TYPE) \
    5818         -W3 -wd4065 -wd4244 -wd4996
     5833        -W4 -wd4065 -wd4996 -wd4127 -wd4706 -wd4201 -wd4214 -wd4510 -wd4512 -wd4610  -wd4100 -wd4244
    58195834 TEMPLATE_VBoxBldProg_CXXFLAGS.debug    := -RTCsu
    58205835 TEMPLATE_VBoxBldProg_CXXFLAGS.dbgopt    = $(NO_SUCH_VARIABLE)
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