mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Disable more warnings, and specify that the no-unused-local-typedef operation should only be used with clang
This commit is contained in:
parent
a684420e89
commit
253ccc938e
1 changed files with 8 additions and 1 deletions
|
@ -326,7 +326,14 @@ win32-msvc* {
|
||||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-function
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-function
|
||||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-switch
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-switch
|
||||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-deprecated-declarations
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-deprecated-declarations
|
||||||
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-sign-compare
|
||||||
|
|
||||||
|
# Disabling strict-aliasing warnings for now, although we probably want to re-enable this in the future
|
||||||
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-strict-aliasing
|
||||||
|
|
||||||
|
equals(QMAKE_CXX, "clang++") {
|
||||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-local-typedef
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-local-typedef
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# do not use windows min/max macros
|
# do not use windows min/max macros
|
||||||
|
|
Loading…
Reference in a new issue