mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
build: use -Wno-inconsistent-missing-override in Subsurface-mobile.pro
The inconsistent-missing-override warning is annoying as it prevents us from adding "override" modifiers: It will warn if we do this only for selected functions. Sadly, this is the default on clang. Therefore, we disable this warning for quite some time in CMakeLists.txt. For consistency also do this in the Subsurface-mobile.pro file. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d7d01ab8a6
commit
8c63d4e2bd
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ include(./deployment.pri)
|
||||||
include(../../mobile-widgets/qml/kirigami/kirigami.pri)
|
include(../../mobile-widgets/qml/kirigami/kirigami.pri)
|
||||||
|
|
||||||
# Supress some warnings
|
# Supress some warnings
|
||||||
QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
|
QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers -Wno-inconsistent-missing-override
|
||||||
QMAKE_CFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
|
QMAKE_CFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
|
||||||
|
|
||||||
ios {
|
ios {
|
||||||
|
|
Loading…
Reference in a new issue