Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-11566: Remove hypot -> _hypot macro for very old compilers #11283

Merged

Commits on Dec 22, 2018

  1. bpo-11566: Extension build errors on Windows for _hypot

    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'
    
    On line 71 of PC/pyconfig.h, HAVE_HYPOT is defined, indicating that
    hypot is expected to be available in current Windows toolchains.
    
    [1] https://www.microsoft.com/en-us/download/details.aspx?id=44266
    
    [2] https://mingwpy.github.io/
    thewtex committed Dec 22, 2018
    Configuration menu
    Copy the full SHA
    8c59022 View commit details
    Browse the repository at this point in the history