[Python-bugs-list] [ python-Bugs-474077 ] 2.2b1: Error compiling extns with BCC (original) (raw)

noreply@sourceforge.net noreply@sourceforge.net
Tue, 30 Oct 2001 13:10:40 -0800


Bugs item #474077, was opened at 2001-10-23 07:31 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474077&group_id=5470

Category: Build Group: Platform-specific Status: Closed Resolution: Fixed Priority: 5 Submitted By: Luigi Ballabio (lballabio) Assigned to: Tim Peters (tim_one) Summary: 2.2b1: Error compiling extns with BCC

Initial Comment: Borland C++ fails to compile extensions for Python 2.2b1. The error message is: D:\Python22\include\pyport.h 350: Only one of a set of overloaded functions can be "C"

The solution is to remove line 183 of pyconfig.h, namely, #undef HAVE_HYPOT


Comment By: Tim Peters (timone) Date: 2001-10-30 13:10

Message: Logged In: YES user_id=31435

Well, I've removed the line, in

Misc/ACKS; new revision: 1.134 PC/pyconfig.h; new revision: 1.5

but can't test it. Do you have any idea why it was there before? Somebody went out of their way to add it.


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