mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Enable even more warnings.
This commit is contained in:
parent
1678351d11
commit
7cbbf8cf37
@ -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…
Reference in New Issue
Block a user