]> granicus.if.org Git - python/commit
bpo-11566: Extension build errors on Windows for _hypot (GH-11283)
authorMatt McCormick <matt@mmmccormick.com>
Sat, 22 Dec 2018 01:37:59 +0000 (20:37 -0500)
committerINADA Naoki <methane@users.noreply.github.com>
Sat, 22 Dec 2018 01:37:59 +0000 (10:37 +0900)
commit87667c54c6650751c5d7bf7b9e465c8c4af45f71
tree62632406d29e47e57b2c9709c89dcb5ed4050537
parent6ded8986e039bbd060cf8b768b50cef18ac73e63
bpo-11566: Extension build errors on Windows for _hypot (GH-11283)

This addresses C extension build errors related to an undefined _hypot
symbol when building with the Microsoft Visual C++ Compiler for Python
2.7 [1] or MinGWPy [2]. It also addresses errors when building a C++
extension with MinGWPy and C++11 from cmath, 'error "::hypot' has not
been declared'

[1] https://www.microsoft.com/en-us/download/details.aspx?id=44266
[2] https://mingwpy.github.io/
PC/pyconfig.h