From 648993ab7b6ce6c67fb4c82a69f975a83f30cec3 Mon Sep 17 00:00:00 2001 From: Crayon Date: Fri, 28 Aug 2026 01:09:51 -0400 Subject: [PATCH] Add -Wsign-conversion for gcc This is for issue #162 --- cmake/CompilerWarnings.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake index ebfc6baa..e4090695 100644 --- a/cmake/CompilerWarnings.cmake +++ b/cmake/CompilerWarnings.cmake @@ -67,6 +67,7 @@ function( -Wlogical-op # warn about logical operations being used where bitwise were probably wanted -Wuseless-cast # warn if you perform a cast to the same type -Wsuggest-override # warn if an overridden member function is not marked 'override' or 'final' + -Wsign-conversion # warn on sign conversions ) endif()