Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a6e7adb

Browse filesBrowse files
theanarkhmarco-ippolito
authored andcommitted
tools: fix return value of try_check_compiler
PR-URL: #59434 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent a7a109f commit a6e7adb
Copy full SHA for a6e7adb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎configure.py‎

Copy file name to clipboardExpand all lines: configure.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ def try_check_compiler(cc, lang):
10271027
proc = subprocess.Popen(shlex.split(cc) + ['-E', '-P', '-x', lang, '-'],
10281028
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
10291029
except OSError:
1030-
return (False, False, '', '')
1030+
return (False, False, '', '', False)
10311031

10321032
with proc:
10331033
proc.stdin.write(b'__clang__ __GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__ '

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.