Hi,

compilation does not work with expat-1.95.4,

gcc -c -g -O2    -I. -I.././gdb -I.././gdb/config 
-DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H 
-I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd 
-I.././gdb/../bfd -I.././gdb/../include   -DMI_OUT=1 -DTUI=1  -Wall 
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral 
-Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror 
xml-support.c
xml-support.c: In function 'gdb_xml_fetch_external_entity':
xml-support.c:480: error: storage size of 'status' isn't known
cc1: warnings being treated as errors
xml-support.c: In function 'gdb_xml_use_dtd':
xml-support.c:528: warning: implicit declaration of function 'XML_UseForeignDTD'
xml-support.c:528: error: 'XML_TRUE' undeclared (first use in this function)
xml-support.c:528: error: (Each undeclared identifier is reported only once
xml-support.c:528: error: for each function it appears in.)
xml-support.c: In function 'gdb_xml_parse':
xml-support.c:544: error: storage size of 'status' isn't known

Compiling with  --with-expat=no works fine.

Regards,
Richard


_______________________________________________
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to