[Expat-bugs] [ expat-Bugs-3576997 ] c99 errors

SourceForge.net noreply at sourceforge.net
Sat Oct 13 08:46:02 CEST 2012


Bugs item #3576997, was opened at 2012-10-12 23:33
Message generated for change (Comment added) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3576997&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build control
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: James Michael DuPont ()
Assigned to: Greg Stein (gstein)
Summary: c99 errors

Initial Comment:
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.

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

>Comment By: James Michael DuPont ()
Date: 2012-10-12 23:46

Message:
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;
>


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3576997&group_id=10127


More information about the Expat-bugs mailing list