commit e523e71eb17437e00a1b385ba224acaceb8c6e00
Author: Scott Kostyshak <[email protected]>
Date: Sat Jul 5 13:46:40 2025 +0200
lyxbuild: turn on -Wused-but-marked-unused
The fix at 4ae8ec8d fixed the following warning:
src/frontends/qt/GuiPrefs.cpp:4584:33: warning: 'Transparent' was marked
unused but was used [-Wused-but-marked-unused]
4584 | pixmap.fill(QColorConstants::Transparent);
| ^
There are no other -Wused-but-marked-unused warnings.
---
development/lyx-tester/lyxbuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index ed66704893..24257e15f0 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -647,6 +647,9 @@ else
# describing LyX's export.
CPPFLAGS+=";-Wno-documentation-html"
+ # helped with commits: 4ae8ec8d
+ CPPFLAGS+=";-Wused-but-marked-unused"
+
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