Skip to content

Commit f3acdc6

Browse files
committed
Make sure size_test uses -Wall, -Werror, -Wuninitialized flags
1 parent 5ee5f2f commit f3acdc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ project(size_test)
2121

2222
set(CMAKE_CXX_STANDARD 17)
2323

24+
add_compile_options("-Wall" "-Werror" "-Wuninitialized")
25+
2426
set(EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/..)
2527

2628
include(${EXECUTORCH_ROOT}/build/Utils.cmake)

0 commit comments

Comments
 (0)