mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	yuzu/CMakeLists: Disable implicit type narrowing in connect() calls
Prevents hard-to-diagnose bugs from potentially occurring and requires any type narrowing to be explicitly performed by our code.
This commit is contained in:
		
							parent
							
								
									cae913d3d5
								
							
						
					
					
						commit
						587b68ed17
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -228,6 +228,9 @@ target_compile_definitions(citra-qt PRIVATE | ||||||
|     # Use QStringBuilder for string concatenation to reduce |     # Use QStringBuilder for string concatenation to reduce | ||||||
|     # the overall number of temporary strings created. |     # the overall number of temporary strings created. | ||||||
|     -DQT_USE_QSTRINGBUILDER |     -DQT_USE_QSTRINGBUILDER | ||||||
|  | 
 | ||||||
|  |     # Disable implicit type narrowing in signal/slot connect() calls. | ||||||
|  |     -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| if (CITRA_ENABLE_COMPATIBILITY_REPORTING) | if (CITRA_ENABLE_COMPATIBILITY_REPORTING) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue