summaryrefslogtreecommitdiff
path: root/absl/copts/GENERATED_copts.bzl
diff options
context:
space:
mode:
authorGravatar Adam Gajda <80600850+adgajda@users.noreply.github.com>2024-03-13 13:19:59 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-03-13 13:20:57 -0700
commit1c233c55171af9101962ba9a5c2bda7ace18fcfe (patch)
tree205d09abada48e61a96071c870037aa64cc0b310 /absl/copts/GENERATED_copts.bzl
parent2a7d0da1dd6ab149eaa66b5582f0a21a0abc2df4 (diff)
PR #1603: Disable -Wnon-virtual-dtor warning for CommandLineFlag implementations
Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1603 Merge e324303b1f2aaee8e4418cffb838f150a2d4f4e7 into d802708117c6ef6b9783efe499b2a2d0d0536c77 Merging this change closes #1603 COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1603 from adgajda:master e324303b1f2aaee8e4418cffb838f150a2d4f4e7 PiperOrigin-RevId: 615522811 Change-Id: I46a388ac62ffd42ce175dbfa04e414dd498855f8
Diffstat (limited to 'absl/copts/GENERATED_copts.bzl')
-rw-r--r--absl/copts/GENERATED_copts.bzl2
1 files changed, 2 insertions, 0 deletions
diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl
index 3a659529..d9a9b375 100644
--- a/absl/copts/GENERATED_copts.bzl
+++ b/absl/copts/GENERATED_copts.bzl
@@ -45,6 +45,7 @@ ABSL_GCC_FLAGS = [
"-Wconversion-null",
"-Wformat-security",
"-Wmissing-declarations",
+ "-Wnon-virtual-dtor",
"-Woverlength-strings",
"-Wpointer-arith",
"-Wundef",
@@ -62,6 +63,7 @@ ABSL_GCC_TEST_FLAGS = [
"-Wcast-qual",
"-Wconversion-null",
"-Wformat-security",
+ "-Wnon-virtual-dtor",
"-Woverlength-strings",
"-Wpointer-arith",
"-Wundef",