Message90128
On OpenBSD the file /usr/include/rpcsvc/ypclnt.h contains the following
declaration:
struct ypall_callback {
/* return non-0 to stop getting called */
int (*foreach)(unsigned long, char *, int, char *, int, void *);
char *data; /* opaque pointer for use of callback fn */
};
the 'foreach' function pointer's declaration in Modules/nismodule.c is
different:
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I. -I./Include -I/usr/local/include -IInclude
-I/home/henry/py3k -c /home/henry/py3k/Modules/nismodule.c -o
build/temp.openbsd-4.6-amd64-3.2/home/henry/py3k/Modules/nismodule.o
/home/henry/py3k/Modules/nismodule.c: In function `nis_cat':
/home/henry/py3k/Modules/nismodule.c:208: warning: assignment from
incompatible pointer type
The attached patch fixes this very important issue :) |
|
Date |
User |
Action |
Args |
2009-07-04 21:39:27 | henry.precheur | set | recipients:
+ henry.precheur |
2009-07-04 21:39:27 | henry.precheur | set | messageid: <1246743567.03.0.331926957573.issue6420@psf.upfronthosting.co.za> |
2009-07-04 21:39:25 | henry.precheur | link | issue6420 messages |
2009-07-04 21:39:25 | henry.precheur | create | |
|