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.