mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	AK: Set DBGLN_NO_COMPILETIME_FORMAT_CHECK for any clang, not just < 12
This currently breaks the OSS-Fuzz build, and attempts to make it build with clang >= 12 were unsuccessful, so let's just disable dbgln() checks for any clang version.
This commit is contained in:
		
							parent
							
								
									ca69cab532
								
							
						
					
					
						commit
						feb66564d2
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -38,8 +38,9 @@ | |||
| #endif | ||||
| 
 | ||||
| #ifndef DBGLN_NO_COMPILETIME_FORMAT_CHECK | ||||
| // Note: Clang 12 adds support for CTAD, this would fail with any version prior to that.
 | ||||
| #    if defined(__clang__) && __clang_major__ < 12 | ||||
| // Note: Clang 12 adds support for CTAD, but still fails to build the dbgln() checks, so they're disabled altogether for now.
 | ||||
| // See https://oss-fuzz-build-logs.storage.googleapis.com/log-79750138-f41e-4f39-8812-7c536f1d2e35.txt, for example.
 | ||||
| #    if defined(__clang__) | ||||
| #        define DBGLN_NO_COMPILETIME_FORMAT_CHECK | ||||
| #    endif | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh