3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

Merge pull request #1487 from Z3Prover/revert-1462-patch-1

Revert "Fix encoding error"
This commit is contained in:
Christoph M. Wintersteiger 2018-02-13 14:09:43 +00:00 committed by GitHub
commit cbf44d3646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'])
version_string = check_output([cc, '--version']).encode('utf-8').decode('utf-8')
return version_string.find('clang') != -1
def is_CXX_clangpp():