commit bc2f825ac3fb7d9f322546153c6b79fb52c364c8
Author: Scott Kostyshak <[email protected]>
Date: Sat Feb 21 13:11:51 2026 +0100
lyxbuild: turn on -Wshadow
Compilation succeeds on Clang and GCC thanks to the recent fixes for
the warnings about shadowing.
---
development/lyx-tester/lyxbuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index dd91a242da..0af3963aaa 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -738,7 +738,7 @@ else
# todo: lyx-devel says it would be good to clean these up.
#
(https://www.mail-archive.com/search?l=mid&q=4cee06c8-0646-4f1a-b81f-409d6de33a4b%40gmail.com)
- CPPFLAGS+=";-Wno-shadow"
+ CPPFLAGS+=";-Wshadow"
# Gives a lot of various types of warnings with GCC.
# todo: ask on lyx-devel if any of the types of warnings are useful.
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs