diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2023-05-11 10:14:39 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2023-05-11 10:14:39 +0000 |
commit | 314cb7e82d035483e194dcdd91bc6ba604f5b474 (patch) | |
tree | a61d35401063573a663bf6a1fe015eed624f9f57 | |
parent | 19d3018b99e5b22b570a68af859e1edca62c9e73 (diff) | |
download | VirtualBox-svn-314cb7e82d035483e194dcdd91bc6ba604f5b474.tar.gz |
Main: More Clang 13 build fixes (warnings as errors) [better fix, use global compiler warning control / DynamicConfig.kmk in Config.kmk].
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99746 cfe28804-0f27-0410-a406-dd0f0b0b656f
-rw-r--r-- | Config.kmk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Config.kmk b/Config.kmk index a68168770f1..6afc0a85030 100644 --- a/Config.kmk +++ b/Config.kmk @@ -3556,7 +3556,6 @@ endif VBOX_GCC_WARN ?= -Wall $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) -Wno-unused -Wno-trigraphs \ $(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_Wno-unused-parameter) $(VBOX_GCC_Wno-language-extension-token) \ $(VBOX_GCC_Wno-extended-offsetof) $(VBOX_GCC_Wno-gnu-folding-constant) $(VBOX_GCC_Wno-gnu-anonymous-struct) \ - $(VBOX_GCC_Wno-deprecated-copy) \ $(VBOX_GCC_Wlogical-op) $(VBOX_GCC_Wno-string-plus-int) $(VBOX_GCC_Wno-nested-anon-types) $(VBOX_GCC_Wno-variadic-macros) \ $(VBOX_GCC_Wno-c++17-compat-mangling) VBOX_GCC_WARN_PEDANTIC = -Wshadow $(VBOX_GCC_WARN) -Wno-long-long @@ -3574,7 +3573,8 @@ ifdef VBOX_GCC_Wno-variadic-macros # Don't use -pedantic unless -Wno-variadic-ma else VBOX_GCC_PEDANTIC_OPTION ?= endif -VBOX_GCC_PEDANTIC_CXX ?= $(VBOX_GCC_PEDANTIC_OPTION) $(VBOX_GCC_WARN_PEDANTIC) $(VBOX_GCC_Wno-return-type-c-linkage) $(VBOX_GCC_Wno-overloaded-virtual) $(VBOX_GCC_Wno-undefined-var-template) +VBOX_GCC_PEDANTIC_CXX ?= $(VBOX_GCC_PEDANTIC_OPTION) $(VBOX_GCC_WARN_PEDANTIC) \ + $(VBOX_GCC_Wno-return-type-c-linkage) $(VBOX_GCC_Wno-overloaded-virtual) $(VBOX_GCC_Wno-undefined-var-template) $(VBOX_GCC_Wno-deprecated-copy) VBOX_GCC_PEDANTIC_C ?= $(VBOX_GCC_PEDANTIC_OPTION) $(VBOX_GCC_WARN_PEDANTIC) -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Werror-implicit-function-declaration # Avoid freaking out when using flexible arrays in C++ code (ldrPE.cpp, ++). |