VirtualBox

Changeset 63401 in vbox for trunk


Ignore:
Timestamp:
Aug 12, 2016 8:51:19 PM (8 years ago)
Author:
vboxsync
Message:

Config.kmk: Enable more GCC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r63394 r63401  
    15821582        $(VBOX_GCC_Wno-string-plus-int) $(VBOX_GCC_Wno-nested-anon-types)
    15831583VBOX_GCC_WARN_PEDANTIC = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long
    1584 ifdef VBOX_WITH_MASOCHISTIC_WARNINGS
    1585  VBOX_GCC_WARN_MASOCHISTIC ?= -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter
    1586 endif
    1587  VBOX_GCC_WARN_PEDANTIC += $(VBOX_GCC_WARN_MASOCHISTIC)
     1584VBOX_GCC_WARN_MASOCHISTIC ?= -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter
     1585VBOX_GCC_WARN_PEDANTIC += $(VBOX_GCC_WARN_MASOCHISTIC)
     1586
    15881587VBOX_GCC_PEDANTIC_CXX ?= -pedantic $(VBOX_GCC_WARN_PEDANTIC) $(VBOX_GCC_Wno-return-type-c-linkage)
    15891588VBOX_GCC_PEDANTIC_C   ?= -pedantic $(VBOX_GCC_WARN_PEDANTIC) -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration
     
    15911590VBOX_GCC_NON_PEDANTIC_CXX ?= -Wno-sign-compare
    15921591VBOX_GCC_NON_PEDANTIC_C   ?= -Wno-sign-compare -Werror-implicit-function-declaration
    1593 
    1594 #
    1595 VBOX_WITH_NO_GCC_WARNING_POLICY ?=
    1596 
    15971592
    15981593# Disabled Visual C++ warnings, W4:
     
    28492844endif # !VBOX_NOINC_DYNAMIC_CONFIG_KMK
    28502845
     2846
    28512847#
    28522848# Warnings as errors.
     
    28622858 VBOX_VCC_LD_WERR ?= ## @todo later also: -WX
    28632859endif
    2864 
    28652860
    28662861#
     
    28782873 endif
    28792874endif
    2880 
    28812875
    28822876
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