[issue37965] CCompiler has_function displays warning

2019-08-28 Thread miss-islington
miss-islington added the comment: New changeset ea48966e5d868e2863d896ee909460d482a0513c by Miss Islington (bot) in branch '3.7': closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. (GH-15560) https://github.com/python/cpython/commit/ea48966e5d868e2863d896ee909460d48

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread miss-islington
miss-islington added the comment: New changeset 0229b56d8c0cb65b8ad789e69dcd281fd92a6d96 by Miss Islington (bot) in branch '2.7': closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. (GH-15560) https://github.com/python/cpython/commit/0229b56d8c0cb65b8ad789e69dcd281fd

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 23985c6a64222df46cd7e21b9b21c0e37aa95e10 by Benjamin Peterson (Miss Islington (bot)) in branch '3.8': closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. (GH-15561) https://github.com/python/cpython/commit/23985c6a64

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +15238 pull_request: https://github.com/python/cpython/pull/15563 ___ Python tracker ___ __

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +15237 pull_request: https://github.com/python/cpython/pull/15562 ___ Python tracker ___ __

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +15236 pull_request: https://github.com/python/cpython/pull/15561 ___ Python tracker ___ __

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread miss-islington
miss-islington added the comment: New changeset 55aabee07501e1468082b3237620e4ecd75c5da6 by Miss Islington (bot) (Anonymous Maarten) in branch 'master': closes bpo-37965: Fix compiler warning of distutils CCompiler.test_function. (GH-15560) https://github.com/python/cpython/commit/55aabee075

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread Maarten
Maarten added the comment: I have submitted a PR to github: https://github.com/python/cpython/pull/15560 -- ___ Python tracker ___

[issue37965] CCompiler has_function displays warning

2019-08-28 Thread Maarten
Change by Maarten : -- pull_requests: +15233 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15560 ___ Python tracker ___ _

[issue37965] CCompiler has_function displays warning

2019-08-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: seems like a good patch. Can you submit a PR? -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue37965] CCompiler has_function displays warning

2019-08-27 Thread Maarten
New submission from Maarten : When using the `has_function` method of a CCompiler object, the compiler will emit a warning because the main function has no return type specified. https://github.com/python/cpython/blob/8c9e9b0cd5b24dfbf1424d1f253d02de80e8f5ef/Lib/distutils/ccompiler.py#L784-L786