Skip to content

Commit 9ebd4af

Browse files
committed
Add missing assertions
1 parent 5eae1ac commit 9ebd4af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/C/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ add_compile_options(
125125
-Werror # Treat all warnings as errors
126126
)
127127

128+
# Additional hardening for formats
129+
add_compile_options(-D_GLIBCXX_ASSERTIONS)
130+
128131
# Additional warnings for GCC (not supported by all compilers)
129132
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
130133
add_compile_options(

0 commit comments

Comments
 (0)