mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Fix encoding error
The encode/decode is not needed and fails if any non-ASCII character is returned by g++ or clang++
This commit is contained in:
		
							parent
							
								
									305212c021
								
							
						
					
					
						commit
						fddc4e311f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -889,7 +889,7 @@ def is_CXX_gpp():
 | 
			
		|||
    return is_compiler(CXX, 'g++')
 | 
			
		||||
 | 
			
		||||
def is_clang_in_gpp_form(cc):
 | 
			
		||||
    version_string = check_output([cc, '--version']).encode('utf-8').decode('utf-8')
 | 
			
		||||
    version_string = check_output([cc, '--version'])
 | 
			
		||||
    return version_string.find('clang') != -1
 | 
			
		||||
 | 
			
		||||
def is_CXX_clangpp():
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue