Re: [xml] xmlChar double ptr



On 2008-05-06 14:58, j s bach o2online de wrote:
Hei,
how do i define a double ptr xmlChar? is it possible at all?
static xmlChar* mapper[] = {"bla", "blubber"} ;

doesn't work. g++ says
XMLStructure.h:75: error: invalid conversion from âconst char*â to âxmlChar*â

XMLStructure.h also includes:
<libxml/parser.h>
<libxml/tree.h>

Sounds like a constness error; try

static const xmlChar* mapper[] = {"bla", "blubber"} ;

instead.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]