Changeset 63303 in vbox for trunk/Config.kmk
- Timestamp:
- Aug 10, 2016 10:58:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r63299 r63303 5158 5158 TEMPLATE_VBOXMAINEXE_TOOL.win.amd64 = $(VBOX_VCC_TOOL_STEM)AMD64 5159 5159 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_WARNINGS5161 # -wd4625: 'DisplaySourceBitmap' : copy constructor could not be generated because a base class copy constructor is inaccessible5162 # -wd4626: 'DisplaySourceBitmap' : assignment operator could not be generated because a base class assignment operator is inaccessible5163 # 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...): 5167 5167 # -wd4265: 'Shareable<D>' : class has virtual functions, but destructor is not virtual instances of this class may not be destructed correctly 5168 5168 TEMPLATE_VBOXMAINEXE_CXXFLAGS += -wd4265 5169 else5170 # 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 -wd42505174 5169 endif 5175 5170 TEMPLATE_VBOXMAINEXE_CXXFLAGS.debug = -RTCsu
Note:
See TracChangeset
for help on using the changeset viewer.