mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
Enable even more warnings.
This commit is contained in:
parent
1678351d11
commit
7cbbf8cf37
1 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,11 @@ option(WITH_TESTS "Enable building of unit tests" ON)
|
|||
|
||||
set( KEEPASSX_VERSION "0.9.0" )
|
||||
|
||||
add_definitions(-DQT_NO_KEYWORDS -fno-exceptions -fno-rtti -Wall -Wextra -Wundef -Wold-style-cast -Wnon-virtual-dtor)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
add_definitions(-DQT_NO_KEYWORDS -DQT_NO_EXCEPTIONS -fno-exceptions -fno-rtti
|
||||
-ansi -Wall -Wextra -Wundef -Wold-style-cast -Wnon-virtual-dtor -Wcast-align
|
||||
-Wpointer-arith -Wformat-security -Woverloaded-virtual -Wno-long-long)
|
||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
if( APPLE OR MINGW )
|
||||
set( PROGNAME KeePassX )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue