Summary: | dev-libs/tinyxml[stl] could/should add '#define TIXML_USE_STL 1' to tinyxml.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Karol Herbst <gentoo> |
Component: | [OLD] Library | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Karol Herbst
2012-03-11 17:26:11 UTC
You need to compile your project with -DTIXML_USE_STL or #define it in the headers if you want STL I don't need stl functionality in any way. But tinyxml is built with stl by default, which causes this undefined reference. So I would have to know whether tinyxml is built with stl or not in the project. But since I want to use system libraries I would like the system to put that into the header file like in archlinux, when built with stl. Archlinux is using the following patch to fix that: https://projects.archlinux.org/svntogit/community.git/tree/trunk/tinyxml-2.5.3-stl.patch?h=packages/tinyxml ideally tinyxml should ship pkg-config file, but that would be deviating from upstream even futher... moving to maintainer for review I quite like the idea (even if a clean pkg-config file would be cleaner indeed), this will allow packages depending on tinyxml[stl] to drop the append-cxxflags (filezilla and gource at least) Added in tinyxml-2.6.2-r2, thanks for the report and link |