[Python-bugs-list] [ python-Bugs-613897 ] warnings compiling pyexpat

noreply@sourceforge.net noreply@sourceforge.net
Tue, 24 Sep 2002 09:27:54 -0700


Bugs item #613897, was opened at 2002-09-24 11:53
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=613897&group_id=5470

Category: XML
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeremy Hylton (jhylton)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: warnings compiling pyexpat

Initial Comment:
Using Python CVS release22-maint branch
and expat 1.95.5.

building 'pyexpat' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-DHAVE_EXPAT_H=1 -I.
-I/usr/home/jeremy/src/python/dist/src-release22-maint/./Include
-I/usr/local/include -IInclude/ -c
/usr/home/jeremy/src/python/dist/src-release22-maint/Modules/pyexpat.c
-o build/temp.linux-i686-2.2/pyexpat.o
/usr/home/jeremy/src/python/dist/src-release22-maint/Modules/pyexpat.c:
In function `xmlparse_ExternalEntityParserCreate':
/usr/home/jeremy/src/python/dist/src-release22-maint/Modules/pyexpat.c:1068:
warning: passing arg 1 of pointer to function from
incompatible pointer type
/usr/home/jeremy/src/python/dist/src-release22-maint/Modules/pyexpat.c:
In function `sethandler':
/usr/home/jeremy/src/python/dist/src-release22-maint/Modules/pyexpat.c:1343:
warning: passing arg 1 of pointer to function from
incompatible pointer type
/usr/home/jeremy/src/python/dist/src-release22-maint/Modules/pyexpat.c:
In function `clear_handlers':
/usr/home/jeremy/src/python/dist/src-release22-maint/Modules/pyexpat.c:1731:
warning: passing arg 1 of pointer to function from
incompatible pointer type
gcc -shared build/temp.linux-i686-2.2/pyexpat.o
-L/usr/local/lib -lexpat -o
build/lib.linux-i686-2.2/pyexpat.so


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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-09-24 12:27

Message:
Logged In: YES 
user_id=3066

Fixed in Modules/pyexpat.c 2.75, 2.57.6.2.

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

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