senjuhashirama / pugixml

Automatically exported from code.google.com/p/pugixml
0 stars 0 forks source link

Missing PUGIXML_CLASS for xml_named_node_iterator #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
D'oh. Fixed in r917.
Thanks for the report!

Original comment by arseny.k...@gmail.com on 28 Jun 2012 at 3:37