VirtualBox

Changeset 16959 in vbox


Ignore:
Timestamp:
Feb 19, 2009 9:14:25 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
43124
Message:

disable array bounds warning for PGMAllPool

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r16957 r16959  
    15951595        $(APPEND) '$@' 'VBOX_GCC_LIBGCC                ?= $(shell $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-libgcc-file-name)'
    15961596        $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-sign      ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-sign,)'
     1597        $(APPEND) '$@' 'VBOX_GCC_Wno-array_bounds      ?= $(call VBOX_GCC_CHECK_CC,-Wno-array-bounds,)'
    15971598# -Wextra produces additional useful warnings but includes -Wno-missing-field-initializers (too noisy)
    15981599        $(APPEND) '$@' 'VBOX_GCC_Wextra                ?= $(call VBOX_GCC_CHECK_CC,-Wextra,)'
  • trunk/src/VBox/VMM/Makefile.kmk

    r16344 r16959  
    472472        VMMR0/PGMR0DynMap.cpp
    473473
     474# disable annoying warnings about array subscript above array bounds in aPages[]
     475VMMAll/PGMAllPool.cpp_CXXFLAGS = $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds))
    474476
    475477ifeq ($(VBOX_LDR_FMT),pe)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette