GDB build problem (XML parser)
Daniel Jacobowitz
drow@false.org
Fri Jan 5 17:57:00 GMT 2007
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
More information about the Gdb
mailing list