commit c3b59afdd1b1e0128c3a70ba9837945292f43964
Author: Scott Kostyshak <[email protected]>
Date: Mon Jul 14 17:33:03 2025 +0200
lyxbuild: turn on -Wdelete-non-virtual-dtor
Thanks to the commits 233ba77d, 3c8525d0, a9fe9d1a, 2c24591d, and
c6aee1c6, we can now turn on the warning to catch future instances.
This Clang warning controls the following flags:
-Wdelete-abstract-non-virtual-dtor
-Wdelete-non-abstract-non-virtual-dtor.
---
development/lyx-tester/lyxbuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index 6f26a50a69..18964a5266 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -666,6 +666,10 @@ else
# this flag also turns on:
# -Wdeprecated-copy-with-user-provided-dtor
CPPFLAGS+=";-Wdeprecated-copy-with-dtor"
+
+ # Helped with commits 233ba77d, 3c8525d0, a9fe9d1a, 2c24591d, c6aee1c6
+ # Controls the following flags: -Wdelete-abstract-non-virtual-dtor,
-Wdelete-non-abstract-non-virtual-dtor.
+ CPPFLAGS+=";-Wdelete-non-virtual-dtor"
else
# GCC only
# warn about logical operations being used where bitwise were probably
wanted
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs