VirtualBox

Ignore:
Timestamp:
Oct 11, 2017 4:03:47 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118322
Message:

ExtPacks/VBoxDTrace: disable gcc fall-through warnings.
bugref:8192: gcc warnings

flex generates C code with switch case fall-throughs. It is easier to
disable the gcc warning when building it than to fix it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/Makefile.kmk

    r68816 r69043  
    212212        $(VBOXDT_PATH)/generated/dt_lex.c
    213213 endif
     214 ifeq ($(KBUILD_HOST),linux)
     215  if $(VBOX_GCC_VERSION_CXX) >= 70000
     216   VBoxDTraceCmd_CFLAGS += -Wno-implicit-fallthrough
     217  endif
     218 endif
    214219 VBoxDTraceCmd_DEFS      += USING_FLEX
    215220 $(call VBOX_SET_VER_INFO_DLL,VBoxDTraceCmd,VBoxDTrace Command Implementation)
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