File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -422,8 +422,7 @@ endif()
422
422
if (LLAMA_ALL_WARNINGS )
423
423
if (NOT MSVC )
424
424
set (warning_flags -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function )
425
- set (c_flags -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int
426
- -Werror=implicit-function-declaration )
425
+ set (c_flags -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Werror=implicit-function-declaration )
427
426
set (cxx_flags -Wmissing-declarations -Wmissing-noreturn )
428
427
set (host_cxx_flags "" )
429
428
@@ -455,7 +454,8 @@ if (LLAMA_ALL_WARNINGS)
455
454
set (c_flags ${c_flags} ${warning_flags} )
456
455
set (cxx_flags ${cxx_flags} ${warning_flags} )
457
456
add_compile_options ("$<$<COMPILE_LANGUAGE:C>:${c_flags} >"
458
- "$<$<COMPILE_LANGUAGE:CXX>:${cxx_flags} ${host_cxx_flags} >" )
457
+ "$<$<COMPILE_LANGUAGE:CXX>:${cxx_flags} >"
458
+ "$<$<COMPILE_LANGUAGE:CXX>:${host_cxx_flags} >" )
459
459
460
460
endif ()
461
461
You can’t perform that action at this time.
0 commit comments