VirtualBox

Changeset 63505 in vbox for trunk


Ignore:
Timestamp:
Aug 15, 2016 9:52:20 PM (8 years ago)
Author:
vboxsync
Message:

Config.kmk: Warnings = errors on darwin, enabling unused warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r63493 r63505  
    27162716 VBOX_GCC_WARN_MASOCHISTIC ?= -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter
    27172717endif
    2718 if $(KBUILD_TARGET) == "linux" || defined(VBOX_WITH_MASOCHISTIC_WARNINGS)
     2718if   $(KBUILD_TARGET) == "linux" \
     2719  || ($(KBUILD_TARGET) == "darwin" && defined(VBOX_WITH_NEW_XCODE)) \
     2720  || defined(VBOX_WITH_MASOCHISTIC_WARNINGS)
    27192721 VBOX_GCC_WARN_PEDANTIC += $(VBOX_GCC_WARN_MASOCHISTIC)
    27202722endif
     
    28722874 if defined(VBOX_WITH_MASOCHISTIC_WARNINGS) # gcc 4.6.x+
    28732875  VBOX_WITH_NO_GCC_WARNING_POLICY = 1
    2874   $(info build debug: VBOX_WITH_NO_GCC_WARNING_POLICY = 1 (*))
    2875  else if1of ($(KBUILD_TARGET),linux)
     2876 else if $(KBUILD_TARGET) == "darwin" && defined(VBOX_WITH_NEW_XCODE)
     2877   VBOX_WITH_NO_GCC_WARNING_POLICY = 1
     2878 else if1of ($(KBUILD_TARGET), linux)
    28762879  if $(VBOX_GCC_VERSION_CXX) >= 40600 # gcc 4.6.x+
    28772880   VBOX_WITH_NO_GCC_WARNING_POLICY = 1
    2878    $(info build debug: VBOX_WITH_NO_GCC_WARNING_POLICY = 1)
    2879   endif
    2880  endif
     2881  endif
     2882 endif
     2883endif
     2884ifdef VBOX_WITH_NO_GCC_WARNING_POLICY
     2885 $(info build debug: VBOX_WITH_NO_GCC_WARNING_POLICY is enabled)
    28812886endif
    28822887
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