VirtualBox

Changeset 25896 in vbox


Ignore:
Timestamp:
Jan 18, 2010 3:29:39 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56708
Message:

Config.kmk: another nice warning: -Wlogical-op

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r25868 r25896  
    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,)'
     1739        $(APPEND) '$@' 'VBOX_GCC_Wlogical-op           ?= $(call VBOX_GCC_CHECK_CC,-Wlogical-op,)'
    17391740        $(APPEND) '$@' 'VBOX_GCC_Wno-missing-field-initializers ?= $(call VBOX_GCC_CHECK_CC,-Wno-missing-field-initializers,)'
    17401741        $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-to-int-cast        ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-to-int-cast,)'
     
    17431744        $(APPEND) '$@' 'VBOX_GCC_Wno-invalid-offsetof  ?= $(call VBOX_GCC_CHECK_CXX,-Wno-invalid-offsetof,)'
    17441745        $(APPEND) '$@' 'VBOX_GCC_fno-stack-protector   ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)'
     1746        $(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
    17451747# Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2.
    17461748        $(APPEND) '$@' 'VBOX_GCC_mtune-generic         ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)'
     
    17671769        $(APPEND) '$@' 'endif'
    17681770endif
    1769         $(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
    17701771# Find the compiler includes for IPRT no-crt.
    17711772# Note that `$(dir $(gcc -print-libgcc-file-name))/include does not work for a 64-bit cross build on a 32-bit build host.
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