mirror of
				https://github.com/RetroShare/RetroShare.git
				synced 2025-10-30 14:19:14 -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
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		|  | @ -50,6 +50,11 @@ rs_autologin:CONFIG -= no_rs_autologin | |||
| 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 { | ||||
| 	isEmpty(PREFIX)   { PREFIX   = "/usr" } | ||||
|  | @ -153,3 +158,9 @@ 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") | ||||
| } | ||||
| 
 | ||||
| rs_nodeprecatedwarning { | ||||
|     QMAKE_CXXFLAGS += -Wno-deprecated | ||||
|     QMAKE_CXXFLAGS += -Wno-deprecated-declarations | ||||
|     warning("QMAKE: You have disable deprecated warnings.") | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 csoler
						csoler