VirtualBox

Changeset 42511 in vbox


Ignore:
Timestamp:
Aug 1, 2012 2:31:58 PM (12 years ago)
Author:
vboxsync
Message:

Config.kmk: fix g++ feature check, must check for the positive option since the negative one always succeeds because it triggers some delayed warning behavior, i.e. g++ only complains about that it doesn't know what -Wno-delete-non-virtual-dtor means when it encounters any other warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r42490 r42511  
    22302230        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wlogical-op           ?= $(call VBOX_GCC_CHECK_CC,-Wlogical-op,)'
    22312231        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-address           ?= $(call VBOX_GCC_CHECK_CXX,-Wno-address,)'
    2232         $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-delete-non-virtual-dtor    ?= $(call VBOX_GCC_CHECK_CXX,-Wno-delete-non-virtual-dtor,)'
     2232        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-delete-non-virtual-dtor    ?= $(call VBOX_GCC_CHECK_CXX,-Wdelete-non-virtual-dtor,)'
    22332233        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-int-to-pointer-cast        ?= $(call VBOX_GCC_CHECK_CC,-Wno-int-to-pointer-cast,)'
    22342234        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_Wno-invalid-offsetof           ?= $(call VBOX_GCC_CHECK_CXX,-Wno-invalid-offsetof,)'
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