VirtualBox

Changeset 69045 in vbox for trunk/src/libs


Ignore:
Timestamp:
Oct 11, 2017 4:08:57 PM (7 years ago)
Author:
vboxsync
Message:

kchmviewer, kStuff: disable gcc fall-through warnings.
bugref:8192: gcc warnings

Because kchmviewer does not use IPRT we cannot easily use RT_FALL_THRU()
there, so disable the gcc fall-through warning. Disable it for kStuff too
until/unless it gets fixed upstream.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/kStuff/Makefile.kmk

    r62534 r69045  
    2424LIBRARIES += VBox-kStuff
    2525VBox-kStuff_TEMPLATE = VBoxR3RuntimeDll
     26/* Temporary measure: prevents switch fall-through warnings. */
     27ifeq ($(KBUILD_HOST),linux)
     28 if $(VBOX_GCC_VERSION_CXX) >= 70000
     29  VBox-kStuff_CFLAGS = -Wno-implicit-fallthrough
     30 endif
     31endif
    2632VBox-kStuff_DEFS = IN_RT_R3
    2733VBox-kStuff_DEFS.strict = K_STRICT KLDRMODMACHO_STRICT KLDRMODMACHO_STRICT2
     
    8490VBox-kStuffStatic_EXTENDS = VBox-kStuff
    8591
    86 
    8792LIBRARIES += VBox-kStuffStaticBldProg
    8893VBox-kStuffStaticBldProg_TEMPLATE = VBoxBldProg
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