VirtualBox

Changeset 52992 in vbox


Ignore:
Timestamp:
Oct 8, 2014 12:27:51 PM (10 years ago)
Author:
vboxsync
Message:

Config.kmk: -Wlogical-op seems to be available in gcc-4.4 but is over-pedantic there. This option is documented to be there as of gcc-4.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r52985 r52992  
    23792379# -Wextra produces additional useful warnings but includes -Wno-missing-field-initializers (too noisy)
    23802380        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wextra                ?= $(call VBOX_GCC_CHECK_CC,-Wextra,)'
    2381         $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wlogical-op           ?= $(call VBOX_GCC_CHECK_CC,-Wlogical-op,)'
     2381        $(QUIET)$(APPEND) '$@' 'ifneq ($$(VBOX_GCC_VERSION_CC),)'
     2382        $(QUIET)$(APPEND) '$@' ' ifneq ($$(int-ge $$(VBOX_GCC_VERSION_CC),40500),)'
     2383        $(QUIET)$(APPEND) '$@' '  VBOX_GCC_Wlogical-op           ?= $(call VBOX_GCC_CHECK_CC,-Wlogical-op,)'
     2384        $(QUIET)$(APPEND) '$@' ' endif'
     2385        $(QUIET)$(APPEND) '$@' 'endif'
    23822386        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-address           ?= $(call VBOX_GCC_CHECK_CXX,-Wno-address,)'
    23832387        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-delete-non-virtual-dtor    ?= $(call VBOX_GCC_CHECK_CXX,-Wno-delete-non-virtual-dtor,)'
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