mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08:00 
			
		
		
		
	SecurityPkg/SpdmCryptLib: Fix CLANG 20.1.0 error
Some of the spdmlib crypto functions return 'false' in functions that return a pointer to indicate a null return. false is mapped to FALSE to cover other usages to return a boolean value. Add -Wno-non-literal-null-conversion for CLANGPDB and CLANGDWARF to ignore these types of errors from CLANG builds within this one library build that uses the spdmlib git submodule. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
		 Michael D Kinney
					Michael D Kinney
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							cbbd0f747f
						
					
				
				
					commit
					18164e8c69
				
			| @ -43,3 +43,7 @@ | ||||
|   BaseCryptLib | ||||
|   RngLib | ||||
|   MemLibWrapper | ||||
|  | ||||
| [BuildOptions] | ||||
|   *_CLANGPDB_*_CC_FLAGS   = -Wno-non-literal-null-conversion | ||||
|   *_CLANGDWARF_*_CC_FLAGS = -Wno-non-literal-null-conversion | ||||
|  | ||||
		Reference in New Issue
	
	Block a user