Changeset 63448 in vbox for trunk/Config.kmk
- Timestamp:
- Aug 14, 2016 11:58:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r63439 r63448 2570 2570 $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-vla ?= $(call VBOX_GCC_CHECK_CXX,-Wno-vla,)' 2571 2571 $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-overlength-strings?= $(call VBOX_GCC_CHECK_CC,-Wno-overlength-strings,)' 2572 $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-overloaded-virtual?= $(call VBOX_GCC_CHECK_CXX,-Wno-overloaded-virtual,)' 2572 2573 $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)' 2573 2574 $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-dwarf2-cfi-asm ?= $(call VBOX_GCC_CHECK_CC,-fno-dwarf2-cfi-asm,)' … … 2712 2713 $(VBOX_GCC_Wno-string-plus-int) $(VBOX_GCC_Wno-nested-anon-types) 2713 2714 VBOX_GCC_WARN_PEDANTIC = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long 2714 if $(VBOX_GCC_VERSION_CXX) >= 40200 # gcc 4.2.x+ (4.1.2 is causing trouble with the extpack & add builds)2715 if $(VBOX_GCC_VERSION_CXX) >= 40200 || defined(VBOX_WITH_MASOCHISTIC_WARNINGS) # gcc 4.2.x+ (4.1.2 is causing trouble with the extpack & add builds) 2715 2716 VBOX_GCC_WARN_MASOCHISTIC ?= -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter 2716 2717 endif 2717 if 1of ($(KBUILD_TARGET),linux)2718 if $(KBUILD_TARGET) == "linux" || defined(VBOX_GCC_WARN_MASOCHISTIC) 2718 2719 VBOX_GCC_WARN_PEDANTIC += $(VBOX_GCC_WARN_MASOCHISTIC) 2719 2720 endif 2720 2721 2721 VBOX_GCC_PEDANTIC_CXX ?= -pedantic $(VBOX_GCC_WARN_PEDANTIC) $(VBOX_GCC_Wno-return-type-c-linkage) 2722 VBOX_GCC_PEDANTIC_CXX ?= -pedantic $(VBOX_GCC_WARN_PEDANTIC) $(VBOX_GCC_Wno-return-type-c-linkage) $(VBOX_GCC_Wno-overloaded-virtual) 2722 2723 VBOX_GCC_PEDANTIC_C ?= -pedantic $(VBOX_GCC_WARN_PEDANTIC) -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration 2723 2724 … … 2869 2870 # 2870 2871 if !defined(VBOX_WITHOUT_NO_GCC_WARNING_POLICY) && !defined(VBOX_WITH_NO_GCC_WARNING_POLICY) 2871 if1of ($(KBUILD_TARGET),linux) 2872 if defined(VBOX_WITH_MASOCHISTIC_WARNINGS) # gcc 4.6.x+ 2873 VBOX_WITH_NO_GCC_WARNING_POLICY = 1 2874 $(info build debug: VBOX_WITH_NO_GCC_WARNING_POLICY = 1 (*)) 2875 else if1of ($(KBUILD_TARGET),linux) 2872 2876 if $(VBOX_GCC_VERSION_CXX) >= 40600 # gcc 4.6.x+ 2873 2877 VBOX_WITH_NO_GCC_WARNING_POLICY = 1 2874 $(info VBOX_WITH_NO_GCC_WARNING_POLICY=1)2878 $(info build debug: VBOX_WITH_NO_GCC_WARNING_POLICY = 1) 2875 2879 endif 2876 2880 endif
Note:
See TracChangeset
for help on using the changeset viewer.