hopefully this fixes the valgrind issue... (and some warnings)
diff --git a/scripts/common.cmake b/scripts/common.cmake
index e1b0ed5..6b5074d 100644
--- a/scripts/common.cmake
+++ b/scripts/common.cmake
@@ -64,8 +64,6 @@
#add_compiler_flags(-fstack-protector-all)
#add_compiler_flags(-funsafe-loop-optimizations)
- add_compiler_flags(-ggdb) # temporary
-
add_compiler_flags(-ansi)
add_compiler_flags(-Wall)
add_compiler_flags(-Wextra)
@@ -119,6 +117,8 @@
add_compiler_flags(-Wshift-overflow=2)
add_compiler_flags(-Wnull-dereference)
add_compiler_flags(-Wduplicated-cond)
+ add_compiler_flags(-Wmisleading-indentation)
+ add_compiler_flags(-Wshift-negative-value)
endif()
endif()