This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GDB build problem (XML parser)


On Fri, Jan 05, 2007 at 05:53:42PM +0000, Richard Earnshaw wrote:
> My system has expat 1.95.5 installed on it.  Unfortunately, this version
> seems to lack XML_StopParser(), so a build of the current sources dies
> with the following:
> 
> cc1: warnings being treated as errors
> /home/rearnsha/gnusrc/gcc-cross/trunk/gdb/xml-support.c: In function
> `gdb_xml_start_element_wrapper':
> /home/rearnsha/gnusrc/gcc-cross/trunk/gdb/xml-support.c:289: warning:
> implicit declaration of function `XML_StopParser'

D'oh!  I guess there are two options: update the configure check to
test for XML_StopParser, or avoid using it.  I've got no opinion
which is better.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]