commit c9ef8f17c25f58b4faa4f6046d8357c76c71e7f5
Author: Kornel Benko <[email protected]>
Date:   Wed Sep 10 09:06:30 2025 +0200

    Cmake build: Handle some gnu c++ warnings when compiling with internal 
hunspell sources
    
    Warnings like
    
/usr2/src/lyx/lyx-test/3rdparty/hunspell/1.7.2/src/hunspell/hashmgr.cxx:695:12: 
error: comparison of integer expressions of different signedness: ‘int’ and 
‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare]
      695 |   while (i < len) {
          |          ~~^~~~~
---
 3rdparty/hunspell/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/3rdparty/hunspell/CMakeLists.txt b/3rdparty/hunspell/CMakeLists.txt
index e303343c63..38e82f0794 100644
--- a/3rdparty/hunspell/CMakeLists.txt
+++ b/3rdparty/hunspell/CMakeLists.txt
@@ -11,7 +11,7 @@ endif()
 
 project(hunspell)
 
-handle_warning_options("hunspell" "CXX" -Wno-unused-but-set-variable 
-Wno-deprecated-declarations -Wno-format-nonliteral -Wno-unused-macros)
+handle_warning_options("hunspell" "CXX" -Wno-suggest-final-types 
-Wno-suggest-final-methods -Wno-unused-but-set-variable 
-Wno-deprecated-declarations -Wno-format-nonliteral -Wno-unused-macros 
-Wno-sign-compare -Wno-unused-parameter)
 
 set(HUNSPELL_VERSION 1.7.2)
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to