[ expat-Bugs-563184 ] warnings for close/read in xmlfile.c
noreply@sourceforge.net
noreply@sourceforge.net
Fri May 31 20:20:01 2002
Bugs item #563184, was opened at 2002-05-31 20:19
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=563184&group_id=10127
Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Patrick McCormick (patrickmc)
Assigned to: Greg Stein (gstein)
Summary: warnings for close/read in xmlfile.c
Initial Comment:
On Solaris 7 with tip of tree, the build throws warnings:
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -Ilib -I. -o xmlwf/xmlfile.o -c
xmlwf/xmlfile.c
xmlwf/xmlfile.c: In function `processStream':
xmlwf/xmlfile.c:155: warning: implicit declaration of
function `close'
xmlwf/xmlfile.c:160: warning: implicit declaration of
function `read'
This is because unistd.h isn't included.
I see that in xmlfile.c it will be included if
_POSIX_SOURCE is defined, but I'm not sure what that
means or if the config should be defining that.
This is really low priority, and the only warning I see
when building expat.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=563184&group_id=10127