mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #608 from PhenomRetroShare/Add_NoDeprecatedWarningFlag
Add no deprecated warning Config flag to better show other ones.
This commit is contained in:
commit
305753365f
@ -50,6 +50,11 @@ rs_autologin:CONFIG -= no_rs_autologin
|
|||||||
CONFIG *= rs_gxs
|
CONFIG *= rs_gxs
|
||||||
no_rs_gxs:CONFIG -= rs_gxs
|
no_rs_gxs:CONFIG -= rs_gxs
|
||||||
|
|
||||||
|
# To disable Deprecated Warning append the following
|
||||||
|
# assignation to qmake command line "CONFIG+=rs_nodeprecatedwarning"
|
||||||
|
CONFIG *= no_rs_nodeprecatedwarning
|
||||||
|
rs_nodeprecatedwarning:CONFIG -= no_rs_nodeprecatedwarning
|
||||||
|
|
||||||
|
|
||||||
unix {
|
unix {
|
||||||
isEmpty(PREFIX) { PREFIX = "/usr" }
|
isEmpty(PREFIX) { PREFIX = "/usr" }
|
||||||
@ -153,3 +158,9 @@ rs_autologin {
|
|||||||
DEFINES *= RS_AUTOLOGIN
|
DEFINES *= RS_AUTOLOGIN
|
||||||
warning("You have enabled RetroShare auto-login, this is discouraged. The usage of auto-login on some linux distributions may allow someone having access to your session to steal the SSL keys of your node location and therefore compromise your security")
|
warning("You have enabled RetroShare auto-login, this is discouraged. The usage of auto-login on some linux distributions may allow someone having access to your session to steal the SSL keys of your node location and therefore compromise your security")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rs_nodeprecatedwarning {
|
||||||
|
QMAKE_CXXFLAGS += -Wno-deprecated
|
||||||
|
QMAKE_CXXFLAGS += -Wno-deprecated-declarations
|
||||||
|
warning("QMAKE: You have disable deprecated warnings.")
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user