gcc -I./lib -I. -std=c99 -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -o xmlwf/unixfilemap.o -c xmlwf/unixfilemap.c
xmlwf/unixfilemap.c: In function ‘filemap’:
xmlwf/unixfilemap.c:54: error: ‘caddr_t’ undeclared (first use in this function)
xmlwf/unixfilemap.c:54: error: (Each undeclared identifier is reported only once
xmlwf/unixfilemap.c:54: error: for each function it appears in.)
xmlwf/unixfilemap.c:54: error: expected ‘)’ before numeric constant
xmlwf/unixfilemap.c:55: error: too few arguments to function ‘mmap’
xmlwf/unixfilemap.c:62: error: expected ‘)’ before ‘p’
xmlwf/unixfilemap.c:62: error: too few arguments to function ‘munmap’
make: *** [xmlwf/unixfilemap.o] Error 1
patch will be coming.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
patch :
Index: xmlwf/unixfilemap.c
===================================================================
RCS file: /cvsroot/expat/expat/xmlwf/unixfilemap.c,v
retrieving revision 1.9
diff -r1.9 unixfilemap.c
19a20,21
> typedef __caddr_t caddr_t;
>
Addressed by commit 2671b8bb9182cec4032df07b1d4574a6fcd06244, using void pointer though. I hope that's okay. Closing.