VirtualBox

Changeset 98023 in vbox


Ignore:
Timestamp:
Jan 6, 2023 8:49:02 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155117
Message:

/Config.kmk: Drop the -Winline warning from VBOXR0DRV, as the SUPR9Printf warnings are of course related to that template rather than to VBOX_GCC_WARN_PEDANTIC. Duh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r98022 r98023  
    35373537       $(VBOX_GCC_Wno-c++17-compat-mangling)
    35383538VBOX_GCC_WARN_PEDANTIC = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long
    3539 if "$(VBOX_GCC_Wno-inline)" != "" && $(VBOX_GCC_VERSION_CXX) <= 100000 # Figure "can never be inlined because it uses variable argument lists" version range.
    3540  VBOX_GCC_WARN_PEDANTIC += $(VBOX_GCC_Wno-inline)
    3541 endif
    35423539if $(VBOX_GCC_VERSION_CXX) >= 40200 || defined(VBOX_WITH_MASOCHISTIC_WARNINGS) # gcc 4.2.x+ (4.1.2 is causing trouble with the extpack & add builds)
    35433540 VBOX_GCC_WARN_MASOCHISTIC ?= -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter
     
    58215818        -mno-red-zone -mcmodel=kernel $(if-expr defined(VBOX_GCC_USING_SOLARIS_AS),-Wa$(COMMA)-xmodel=kernel,) \
    58225819        -fno-reorder-blocks -fno-asynchronous-unwind-tables -funit-at-a-time
    5823 TEMPLATE_VBOXR0DRV_CXXFLAGS           = -Wpointer-arith -Winline \
    5824         -Wshadow -Wuninitialized -Wunused-function -Wunused-label -Wunused-value -Wunused-variable \
    5825         -Wformat \
     5820TEMPLATE_VBOXR0DRV_CXXFLAGS           = -Wpointer-arith \
     5821        -Wshadow -Wuninitialized -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wformat \
    58265822        -O2 -nodefaultlibs -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -fno-exceptions -fno-rtti
    58275823TEMPLATE_VBOXR0DRV_CXXFLAGS.x86       = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette