VirtualBox

Changeset 25787 in vbox


Ignore:
Timestamp:
Jan 12, 2010 6:09:24 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56545
Message:

Config.kmk,xpcom/makefile: VBOX_GCC_Wno-int-to-pointer-cast VBOX_GCC_Wno-pointer-to-int-cast

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r25781 r25787  
    17301730
    17311731# HC compiler switch detection.
    1732         $(APPEND) '$@' 'VBOX_GCC_VERSION_CC            ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CC))'
    1733         $(APPEND) '$@' 'VBOX_GCC_VERSION_CXX           ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CXX))'
    1734         $(APPEND) '$@' 'VBOX_GCC_LIBGCC                ?= $(shell $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-libgcc-file-name)'
    1735         $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-sign      ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-sign,)'
    1736         $(APPEND) '$@' 'VBOX_GCC_Wno-array_bounds      ?= $$(if $$(int-ge $$(VBOX_GCC_VERSION_CXX),40300),-Wno-array-bounds,)'
     1732        $(APPEND) '$@' 'VBOX_GCC_VERSION_CC             ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CC))'
     1733        $(APPEND) '$@' 'VBOX_GCC_VERSION_CXX            ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CXX))'
     1734        $(APPEND) '$@' 'VBOX_GCC_LIBGCC                 ?= $(shell $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-libgcc-file-name)'
     1735        $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-sign       ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-sign,)'
     1736        $(APPEND) '$@' 'VBOX_GCC_Wno-array_bounds       ?= $$(if $$(int-ge $$(VBOX_GCC_VERSION_CXX),40300),-Wno-array-bounds,)'
    17371737# -Wextra produces additional useful warnings but includes -Wno-missing-field-initializers (too noisy)
    17381738        $(APPEND) '$@' 'VBOX_GCC_Wextra                ?= $(call VBOX_GCC_CHECK_CC,-Wextra,)'
    17391739        $(APPEND) '$@' 'VBOX_GCC_Wno-missing-field-initializers ?= $(call VBOX_GCC_CHECK_CC,-Wno-missing-field-initializers,)'
     1740        $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-to-int-cast        ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-to-int-cast,)'
     1741        $(APPEND) '$@' 'VBOX_GCC_Wno-int-to-pointer-cast        ?= $(call VBOX_GCC_CHECK_CC,-Wno-int-to-pointer-cast,)'
    17401742        $(APPEND) '$@' 'VBOX_GCC_Wno-variadic-macros   ?= $(call VBOX_GCC_CHECK_CXX,-Wno-variadic-macros,)'
    17411743        $(APPEND) '$@' 'VBOX_GCC_Wno-invalid-offsetof  ?= $(call VBOX_GCC_CHECK_CXX,-Wno-invalid-offsetof,)'
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r25785 r25787  
    224224        $(VBOX_PATH_SDK)/bindings/xpcom/include/ipcd
    225225if 1 # if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.amd64)
    226  TEMPLATE_XPCOMBLDPROG_CFLAGS             = $(filter-out -pedantic -Wshadow -Wall,$(TEMPLATE_BLDPROG_CFLAGS))
     226 TEMPLATE_XPCOMBLDPROG_CFLAGS             = $(filter-out -pedantic -Wshadow, $(TEMPLATE_BLDPROG_CFLAGS)) $(VBOX_GCC_Wno-int-to-pointer-cast) $(VBOX_GCC_Wno-pointer-to-int-cast)
    227227 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.darwin    = $(TEMPLATE_BLDPROG_CXXFLAGS.darwin)     -fpascal-strings -fshort-wchar -fno-common -fno-rtti
    228228 TEMPLATE_XPCOMBLDPROG_CXXFLAGS.solaris   = $(TEMPLATE_BLDPROG_CXXFLAGS.solaris)    -fno-omit-frame-pointer # for now anyway.
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