Problem with python compile - Mailing list pgsql-interfaces

From Bruce Momjian
Subject Problem with python compile
Date
Msg-id 200203250149.g2P1nBn20469@candle.pha.pa.us
Whole thread Raw
Responses Re: Problem with python compile  (Bernhard Herzog <bh@intevation.de>)
Re: Problem with python compile  ("D'Arcy J.M. Cain" <darcy@druid.net>)
List pgsql-interfaces
I am seeing the following warning message when compiling
interfaces/python:

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

gcc -O2 -pipe -m486 -Wall -Wmissing-prototypes -Wmissing-declarations -O0 -Wall 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wcast-align -fpic -
I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include/readl
ine -I/usr/contrib/include -I/usr/contrib/include/python1.5  -c -o pgmodule.o pg
module.c
pgmodule.c: In function `pgsource_dealloc':
pgmodule.c:346: warning: implicit declaration of function `PyObject_DEL'

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

This was introduced by the following patch:

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

Revision 1.35 / (download) - annotate - [select for diffs] , Wed Mar 20 14:36:06 2002 UTC (4 days, 11 hours ago) by
darcy
CVS Tags: HEAD
Changes since 1.34: +4 -4 lines
Diff to previous 1.34

PyGreSQL causes a segfault when used with a Python executable that was
compiled with --with-pymalloc.  This change fixes that.  Thanks to
Dave Wallace <dwallace@udel.edu>

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

The patch changes PyMem_DEL(self) to PyObject_DEL(self).

This is with python 1.5.  I suggest that we should reverse out this patch.
The fix for --with-pymalloc clearly is causing problems for regular
compiles.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-interfaces by date:

Previous
From: "Murphy Pope"
Date:
Subject: A dynamic SQL/ecpg question
Next
From: "Jose Luis LG"
Date:
Subject: Checking if a table locked from pl/pgsql