Skip to content

Commit 375f9c2

Browse files
committed
Enabling extra warnings.
1 parent bd7bc86 commit 375f9c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/CMakeCompiler.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ macro(setup_default_compiler_flags _project_name)
2626
target_link_libraries(${_project_name} PRIVATE "-m64")
2727
endif()
2828

29-
target_compile_options(${_project_name} PRIVATE -Wall) # Enable all warnings
29+
target_compile_options(${_project_name} PRIVATE -Wall -Wextra) # Enable all warnings
3030
target_compile_options(${_project_name} PRIVATE -Werror) # Treat warnings as errors
3131
endif()
3232
endmacro()

0 commit comments

Comments
 (0)