1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-30 00:14:57 +00:00

Remove compiler warning flags

Apperently nobody care about those warnings so just remove them and let
other more important warnings stand out.
This commit is contained in:
Chocobo1 2019-07-18 14:34:39 +08:00
parent 4153a2e2af
commit 752d4b85ea
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
2 changed files with 3 additions and 4 deletions

View File

@ -10,14 +10,14 @@ macro(qbt_set_compiler_options)
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
#-Wshadow -Wconversion ?
set(_GCC_COMMON_C_AND_CXX_FLAGS "-Wall -Wextra"
"-Wfloat-equal -Wcast-qual -Wcast-align"
"-Wsign-conversion -Winvalid-pch -Wno-long-long"
"-Wcast-qual -Wcast-align"
"-Winvalid-pch -Wno-long-long"
#"-fstack-protector-all"
#"-Werror -Wno-error=deprecated-declarations"
)
set(_GCC_COMMON_CXX_FLAGS "-fexceptions -frtti"
"-Woverloaded-virtual -Wold-style-cast"
"-Wnon-virtual-dtor -Wfloat-equal -Wcast-qual -Wcast-align"
"-Wnon-virtual-dtor"
#"-Weffc++"
#"-Werror -Wno-error=cpp"
# we should modify code to make these ones obsolete

View File

@ -78,4 +78,3 @@ endif ()
if (WEBUI)
add_subdirectory(webui)
endif (WEBUI)