Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 3df53cc

Browse files
committed
cmake: try using DWARF-3 to see if it fixes valgrind errors
1 parent 5916e4b commit 3df53cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

projects/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX
9797
set(warning_flags "-Wall -Wextra -Wconversion")
9898

9999
# force DWARF version to 4 in order to keep Valgrind happy.
100-
set(warning_flags "${warning_flags} -gdwarf-4 -gstrict-dwarf")
100+
set(warning_flags "${warning_flags} -gdwarf-3 -gstrict-dwarf")
101101

102102
if (CMAKE_COMPILER_IS_GNUCXX)
103103
set(warning_flags "${warning_flags} -Wno-maybe-uninitialized")

0 commit comments

Comments
 (0)