mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 14:36:01 +03:00
Add more warnings.
This commit is contained in:
parent
8fc9e93ee0
commit
804e5adee6
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ if (UNIX AND NOT WIN32)
|
|||
string(REGEX REPLACE "[\r\n]" " " ${_lfs_CFLAGS} "${${_lfs_CFLAGS}}")
|
||||
|
||||
add_definitions(${_lfs_CFLAGS})
|
||||
add_definitions(-Wall -W -Wmissing-prototypes -Wdeclaration-after-statement)
|
||||
add_definitions(-Wall -W -Wmissing-prototypes -Wdeclaration-after-statement -Wreturn-type -Wunused)
|
||||
|
||||
check_cxx_compiler_flag("-fstack-protector" WITH_STACK_PROTECTOR)
|
||||
if (WITH_STACK_PROTECTOR)
|
||||
|
|
Loading…
Reference in a new issue