[libxml++] Compiling libxml++ example (myparser) in VC6.0



Hi Guys,

I am trying to compile the sample program "myparser" list in, but failed (http://libxmlplusplus.sourceforge.net/docs/manual/html/ar01s02.html#id2402334)

Here are my settings:
1. Install gtkmm-devel-2.6.2-1.exe which includes glib, glibmm, libxml in the same package
2. Set Include path of libxml++ for my VC6 project

However, I have the following error messages from ustring.h.
(It seems to me that in GLIBMM_HAVE_SUN_REVERSE_ITERATOR is missing out the support of VC6, since the "std::reverse_iterator" contains five parameters. Well, this is for sure not being defined under ustring.h, I wonder if any of you know how to fix this problem?)

c:\gtk\include\glibmm-2.4\glibmm\ustring.h(215) : error C2976: 'reverse_iterator' : too few template arguments c:\program files\microsoft visual studio\vc98\include\utility(174) : see declaration of 'reverse_iterator' c:\gtk\include\glibmm-2.4\glibmm\ustring.h(216) : error C2976: 'reverse_iterator' : too few template arguments c:\program files\microsoft visual studio\vc98\include\utility(174) : see declaration of 'reverse_iterator' c:\gtk\include\glibmm-2.4\glibmm\ustring.h(236) : error C2258: illegal pure syntax, must be '= 0' c:\gtk\include\glibmm-2.4\glibmm\ustring.h(236) : error C2252: 'npos' : pure specifier can only be specified for functions c:\gtk\include\glibmm-2.4\glibmm\ustring.h(274) : error C2065: 'npos' : undeclared identifier
....

Thank you very much for yours help, I am really appreciate that.

Best wishes,

tikcireviva




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