commit bdcc1f071cd8a77053a960d421b323fcf7080432
Author: Scott Kostyshak <[email protected]>
Date:   Fri Jul 4 16:32:25 2025 +0200

    lyxbuild: turn on -Wredundant-decls
    
    Thanks to the fix at 0ec1d06d, there are no more of these warnings.
---
 development/lyx-tester/lyxbuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index cbf90c58fb..ca3ea0919f 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -702,8 +702,11 @@ else
       CPPFLAGS+=";-Wunused-but-set-parameter"
       CPPFLAGS+=";-Wwrite-strings"
 
-      # TODO: check this one out soon.
-      CPPFLAGS+=";-Wno-redundant-decls"
+      # helped with commit 0ec1d06d
+      # This flag technically exists for Clang, but currently states:
+      # "This diagnostic flag exists for GCC compatibility, and has no effect 
in Clang."
+      # Indeed, only GCC found the warning fixed by 0ec1d06d.
+      CPPFLAGS+=";-Wredundant-decls"
 
       # Helped for these commits: 5dbd11be, 0566a02f
       #
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to