commit 89dc675f45095e59b9f5da0230552a60402418fa
Author: Scott Kostyshak <[email protected]>
Date:   Thu Jul 3 17:09:27 2025 +0200

    lyxbuild: turn on -Wstring-conversion
---
 development/lyx-tester/lyxbuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index 45a87ba799..cbf90c58fb 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -627,6 +627,15 @@ else
         # todo: look through these. Helped for commit 08323653.
         CPPFLAGS+=";-Wno-unreachable-code-return"
 
+        # Clang only.
+        # TODO: make sure this is turned on even if we set -Wno-conversion. 
Test this
+        #       by reverting the commit referenced below. If it doesn't work, 
may need
+        #       to include this *after* the -Wno-conversion.
+        # Helped with commits 406a1357
+        # this is included in -Wconversion but -Wconversion turns on a lot of
+        # other warnings.
+        CPPFLAGS+=";-Wstring-conversion"
+
       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

Reply via email to