leethomason / tinyxml2

TinyXML2 is a simple, small, efficient, C++ XML parser that can be easily integrated into other programs.
zlib License
5.11k stars 1.84k forks source link

Tags for versions below 2.0.1 #971

Open PiotrBzdrega opened 8 months ago

PiotrBzdrega commented 8 months ago

Are there somewhere versions older than version 2.0.1? On one embedded device with the previous version of the company project, I have a file libtinyxml2.so.0.0.0 with the last modification date May 31 2012 . I must build new version of company project linking with this existing library(libtinyxml2.so.0.0.0) (codesourcery-2014.05 arm-none-linux-gnueabi-gcc (4.8.3).) Unfortunately, when compiling with this library I get undefined references to some functions. When i compile myself tinyxml2.0.1 from tags, everything works fine, but it is bigger 2 times in size. So im wondering what is inside this old version 🤔

libtinyxml2.so.0.0.0.zip

Looks like my version does not contains Value() function

root@127.0.0.1:/usr/lib/arm-linux-gnueabi$ nm -DC libtinyxml2.so.2.1.0 | grep Value
00009b44 T tinyxml2::XMLNode::SetValue(char const*, bool)
0000b530 T tinyxml2::XMLAttribute::QueryIntValue(int*) const
0000b5d0 T tinyxml2::XMLAttribute::QueryBoolValue(bool*) const
0000b620 T tinyxml2::XMLAttribute::QueryFloatValue(float*) const
0000b670 T tinyxml2::XMLAttribute::QueryDoubleValue(double*) const
0000b580 T tinyxml2::XMLAttribute::QueryUnsignedValue(unsigned int*) const
0000b390 T tinyxml2::XMLAttribute::Value() const
00009b14 T tinyxml2::XMLNode::Value() const
root@127.0.0.1:/usr/lib/arm-linux-gnueabi$ nm -DC libtinyxml2.so.0.0.0 | grep Value
00006f80 T tinyxml2::XMLNode::SetValue(char const*, bool)
00007b04 T tinyxml2::XMLAttribute::QueryIntValue(int*) const
00007b74 T tinyxml2::XMLAttribute::QueryBoolValue(bool*) const
00007d54 T tinyxml2::XMLAttribute::QueryFloatValue(float*) const
00007d1c T tinyxml2::XMLAttribute::QueryDoubleValue(double*) const
00007b3c T tinyxml2::XMLAttribute::QueryUnsignedValue(unsigned int*) const
root@127.0.0.1:/usr/lib/arm-linux-gnueabi$