mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-21 06:12:09 +00:00
Move non-virtual-dtor warning to C++ only
Causes a warning when building C files. Change-Id: Ib82134a0bb7a15c88a3edfbdb04d570fde643198
This commit is contained in:
parent
9113c9fea2
commit
1919c64b5c
|
@ -27,13 +27,13 @@ config("strict_warnings") {
|
|||
cflags = [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Wnon-virtual-dtor",
|
||||
|
||||
# Make all warnings errors, except for the exemptions below.
|
||||
"-Werror",
|
||||
"-Wno-error=cpp", # preprocessor #warning statement
|
||||
"-Wno-error=deprecated-declarations", # [[deprecated]] attribute
|
||||
]
|
||||
cflags_cc = [ "-Wnon-virtual-dtor" ]
|
||||
}
|
||||
|
||||
config("cpp17") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user