--- rapidxml_print.hpp.orig 2015-06-21 15:46:43.330070116 +0200 +++ rapidxml_print.hpp 2015-06-21 15:50:58.745053512 +0200 @@ -102,6 +102,20 @@ /////////////////////////////////////////////////////////////////////////// // Internal printing operations + // ===================================== + // fix for clang for this bug in gcc and others: https://sourceforge.net/p/rapidxml/bugs/16/ + + template inline OutIt print_children(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_element_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_data_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_cdata_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_declaration_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_comment_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_doctype_node(OutIt out, const xml_node *node, int flags, int indent); + template inline OutIt print_pi_node(OutIt out, const xml_node *node, int flags, int indent); + + // ===================================== + // Print node template inline OutIt print_node(OutIt out, const xml_node *node, int flags, int indent)