Building pugi (1.2) as a dll and using it in a BOOST_FOREACH (1.49) loop on
children under VS2003 gives me link error on
xml_named_node_iterator::operator++.
Adding PUGIXML_CLASS to class definition ("class PUGIXML_CLASS
xml_named_node_iterator { ...") solved the problem.
Regards,
Ivan
PS:
I had
PUGIXML_API=__declspec(dllimport) // to build user code
PUGIXML_API=__declspec(dllexport) // to build pugi
Original issue reported on code.google.com by ivan.lel...@gmail.com on 28 Jun 2012 at 2:53
Original issue reported on code.google.com by
ivan.lel...@gmail.com
on 28 Jun 2012 at 2:53