Commit 55aabee0 authored by Anonymous Maarten's avatar Anonymous Maarten Committed by Miss Islington (bot)

closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. (GH-15560)



https://bugs.python.org/issue37965


https://bugs.python.org/issue37965



Automerge-Triggered-By: @benjaminp
parent 2a16eea7
......@@ -781,8 +781,9 @@ class CCompiler:
for incl in includes:
f.write("""#include "%s"\n""" % incl)
f.write("""\
main (int argc, char **argv) {
int main (int argc, char **argv) {
%s();
return 0;
}
""" % funcname)
finally:
......
Fix C compiler warning caused by distutils.ccompiler.CCompiler.has_function.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment