You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-p2p/qbittorrent/files/qbittorrent-4.0.4-werror.patch

25 lines
1.0 KiB

Bug: https://bugs.gentoo.org/641382
--- a/cmake/Modules/MacroQbtCompilerSettings.cmake
+++ b/cmake/Modules/MacroQbtCompilerSettings.cmake
@@ -11,16 +11,15 @@
#-Wshadow -Wconversion ?
set(_GCC_COMMON_C_AND_CXX_FLAGS "-Wall -Wextra"
"-Wfloat-equal -Wcast-qual -Wcast-align"
- "-Wsign-conversion -Winvalid-pch -Werror=return-type -Wno-long-long"
+ "-Wsign-conversion -Winvalid-pch -Wno-long-long"
# -fstack-protector-all
- "-Werror -Wno-error=deprecated-declarations"
+ "-Wno-error=deprecated-declarations"
)
set (_GCC_COMMON_CXX_FLAGS "-fexceptions -frtti"
"-Woverloaded-virtual -Wold-style-cast -Wstrict-null-sentinel"
"-Wnon-virtual-dtor -Wfloat-equal -Wcast-qual -Wcast-align"
- "-Werror=overloaded-virtual"
# "-Weffc++"
- "-Werror -Wno-error=cpp"
+ "-Wno-error=cpp"
# we should modify code to make these ones obsolete
"-Wno-error=sign-conversion -Wno-error=float-equal"
)