VirtualBox

Changeset 17258 in vbox


Ignore:
Timestamp:
Mar 3, 2009 8:59:08 AM (16 years ago)
Author:
vboxsync
Message:

fixed detection of -Wno-array-bounds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r17221 r17258  
    16051605        $(APPEND) '$@' 'VBOX_GCC_LIBGCC                ?= $(shell $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-libgcc-file-name)'
    16061606        $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-sign      ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-sign,)'
    1607         $(APPEND) '$@' 'VBOX_GCC_Wno-array_bounds      ?= $(call VBOX_GCC_CHECK_CC,-Wno-array-bounds,)'
     1607        $(APPEND) '$@' 'VBOX_GCC_Wno-array_bounds      ?= $$(if $$(int-ge $$(VBOX_GCC_VERSION_CXX),40300),-Wno-array-bounds,)'
    16081608# -Wextra produces additional useful warnings but includes -Wno-missing-field-initializers (too noisy)
    16091609        $(APPEND) '$@' 'VBOX_GCC_Wextra                ?= $(call VBOX_GCC_CHECK_CC,-Wextra,)'
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