Created attachment 405488 [details, diff] The patch to be applied The current (and only available) rapidxml version in portage is broken with current compilers, as it misses some forward declarations. I took the patch posted on http://sourceforge.net/p/rapidxml/bugs/16/ and created a patch suitable for the use in the ebuild. Please add this patch to portage and create a -r1 version as long as upstream does not release an updated version. Otherwise, rapidxml is useless. Thanks in advance :-)
Created attachment 405490 [details] The updated ebuild
+*rapidxml-1.13-r1 (22 Jun 2015) + + 22 Jun 2015; Justin Lecher <jlec@gentoo.org> +files/rapidxml-1.13-clang.patch, + +rapidxml-1.13-r1.ebuild: + Add fix for recetn compilers, bug #552756; thanks Tobias Leupold providing the + patch +