VirtualBox

儲存庫 vbox 的更動 63303


忽略:
時間撮記:
2016-8-10 下午10:58:47 (8 年 以前)
作者:
vboxsync
訊息:

Config.kmk: Enabled -Wall and warnings=errors for the VBOXMAINEXE template and descendants.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/Config.kmk

    r63299 r63303  
    51585158 TEMPLATE_VBOXMAINEXE_TOOL.win.amd64     = $(VBOX_VCC_TOOL_STEM)AMD64
    51595159 TEMPLATE_VBOXMAINEXE_CXXFLAGS           = -Zi -Zl -GR -EHsc -GF -MD$(VBOX_VCC_CRT_TYPE) -Zc:wchar_t- $(VBOX_VCC_OPT) $(VBOX_VCC_FP)
    5160  ifdef VBOX_WITH_MASOCHISTIC_WARNINGS
    5161   #    -wd4625: 'DisplaySourceBitmap' : copy constructor could not be generated because a base class copy constructor is inaccessible
    5162   #    -wd4626: 'DisplaySourceBitmap' : assignment operator could not be generated because a base class assignment operator is inaccessible
    5163   #             The two above can be cured by adding private: DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(xxxx); but too much work.
    5164   #    -wd4355: 'this' : used in base member initializer list (e.g. VirtualBoxBase.cpp)
    5165  TEMPLATE_VBOXMAINEXE_CXXFLAGS         += $(VBOX_VCC_WARN_ALL) -wd4625 -wd4626 -wd4355 $(VBOX_VCC_WERR)
    5166   # Temporarily (Frank is working on these from the linux side):
     5160 #    -wd4625: 'DisplaySourceBitmap' : copy constructor could not be generated because a base class copy constructor is inaccessible
     5161 #    -wd4626: 'DisplaySourceBitmap' : assignment operator could not be generated because a base class assignment operator is inaccessible
     5162 #             The two above can be cured by adding private: DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(xxxx); but too much work.
     5163 #    -wd4355: 'this' : used in base member initializer list (e.g. VirtualBoxBase.cpp)
     5164 TEMPLATE_VBOXMAINEXE_CXXFLAGS          += $(VBOX_VCC_WARN_ALL) -wd4625 -wd4626 -wd4355 $(VBOX_VCC_WERR)
     5165 ifndef VBOX_WITH_MASOCHISTIC_WARNINGS
     5166  # Temporarily (Frank is working on these from the linux side, I think...):
    51675167  #     -wd4265: 'Shareable<D>' : class has virtual functions, but destructor is not virtual instances of this class may not be destructed correctly
    51685168  TEMPLATE_VBOXMAINEXE_CXXFLAGS         += -wd4265
    5169  else
    5170   # Note: C4250 is the dominance warning, see r32789.
    5171   #       C4065 is about default only switches.
    5172   #       C4996 is about deprected function (CRT only?).
    5173   TEMPLATE_VBOXMAINEXE_CXXFLAGS         += -W3 -wd4065 -wd4996 -wd4250
    51745169 endif
    51755170 TEMPLATE_VBOXMAINEXE_CXXFLAGS.debug     = -RTCsu
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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