[Python-bugs-list] [ python-Bugs-417508 ] 'hypot' not found with Borland C++Builde

noreply@sourceforge.net noreply@sourceforge.net
Thu, 19 Apr 2001 19:11:44 -0700


Bugs item #417508, was updated on 2001-04-19 19:11
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417508&group_id=5470

Category: Build
Group: Not a Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephen Hansen (ixokai)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'hypot' not found with Borland C++Builde

Initial Comment:
I'm working on getting Python to build in Borland 
C++Builder, and the first problem i've run into is 
that 'hypot' is undefined in mathmodule.c and thus 
raises an error.
<br>
Adding the following to the top seems to fix it:
<pre>
#ifdef __BORLANDC__
extern double hypot (double, double);
#endif
</pre>
This should likely be a patch, I know. Sorry. :)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417508&group_id=5470