Add Compil Flag -Wno-inconsistent-missing-override to hide this type of

warnings:

../../../trunk/libretroshare/src/services/p3idservice.h:226:24: warning:
'getServiceInfo' overrides a member function but is not marked
'override' [-Winconsistent-missing-override]
        virtual RsServiceInfo getServiceInfo();
                              ^
../../../trunk/libretroshare/src/gxs/rsgenexchange.h:122:27: note:
overridden virtual function is here
    virtual RsServiceInfo getServiceInfo() = 0;
                          ^
This commit is contained in:
Phenom 2019-02-15 00:14:42 +01:00
parent 1e65089930
commit 4c50d73668

View File

@ -434,6 +434,8 @@ no_rs_deprecatedwarning {
no_rs_cppwarning {
QMAKE_CXXFLAGS += -Wno-cpp
QMAKE_CXXFLAGS += -Wno-inconsistent-missing-override
DEFINES *= RS_NO_WARN_CPP
message("QMAKE: You have disabled C preprocessor warnings.")
}