#14 use debug functions only if libxml2 has debug support

closed-fixed
code patch (9)
5
2010-04-08
2009-11-29
No

We use xmlXPathDebugDumpCompExpr without testing if libxml2 has support
for it enabled. This can result in the following linker error:

xml_edit.o: In function `edUpdate':
xmlstarlet-1.0.1/src/xml_edit.c:327:
undefined reference to `xmlXPathDebugDumpCompExpr'

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>

Discussion

  • Dagobert Michelsen

    • assigned_to: nobody --> dmichelsen
    • status: open --> open-accepted
     
  • Dagobert Michelsen

    • status: open-accepted --> closed-accepted
     
  • Dagobert Michelsen

    • status: closed-accepted --> closed-fixed
     

Log in to post a comment.