* [gentoo-commits] gentoo-x86 commit in dev-libs/rapidxml/files: rapidxml-1.13-clang.patch
@ 2015-06-22 7:52 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2015-06-22 7:52 UTC (permalink / raw
To: gentoo-commits
jlec 15/06/22 07:52:18
Added: rapidxml-1.13-clang.patch
Log:
Add fix for recetn compilers, bug #552756; thanks Tobias Leupold providing the patch
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
Revision Changes Path
1.1 dev-libs/rapidxml/files/rapidxml-1.13-clang.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/rapidxml/files/rapidxml-1.13-clang.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/rapidxml/files/rapidxml-1.13-clang.patch?rev=1.1&content-type=text/plain
Index: rapidxml-1.13-clang.patch
===================================================================
--- 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: http://sourceforge.net/p/rapidxml/bugs/16/
+
+ template<class OutIt, class Ch> inline OutIt print_children(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_element_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_data_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_cdata_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_declaration_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_comment_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_doctype_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+ template<class OutIt, class Ch> inline OutIt print_pi_node(OutIt out, const xml_node<Ch> *node, int flags, int indent);
+
+ // =====================================
+
// Print node
template<class OutIt, class Ch>
inline OutIt print_node(OutIt out, const xml_node<Ch> *node, int flags, int indent)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-22 7:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-22 7:52 [gentoo-commits] gentoo-x86 commit in dev-libs/rapidxml/files: rapidxml-1.13-clang.patch Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox