commit b78ba74745a3a1b4e28737d6ba59b813832843a8
Author: Scott Kostyshak <[email protected]>
Date:   Sat Jul 5 11:23:08 2025 +0200

    lyxbuild: turn on -Wunused-macros
    
    After the following commits, no instances of these warnings remain
    for Clang or GCC: 58723717, c36a02f7, 62f0921b
---
 development/lyx-tester/lyxbuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index ef54870313..ed66704893 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -749,10 +749,14 @@ else
       # TODO: lots of warnings
       # warn for c-style casts
       CPPFLAGS+=";-Wno-old-style-cast"
+
+      # Helped with commits 58723717, c36a02f7, 62f0921b
+      CPPFLAGS+=";-Wunused-macros"
     else
       CPPFLAGS=""
     fi
   else
+    # TODO: need to implement flags for autotools build.
     CPPFLAGS=""
   fi
   #
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to