Re: Library Version Printing?




2014-05-18 23:41, Matthew Gidden skrev:
Hi all,

I'm curious if there is a way to print the version of libxmlpp being used at run time (similar to libxml2's LIBXML_DOTTED_VERSION)? A perusal of the docs and grepping the source code hasn't provided any results.

Cheers,

--
Matthew Gidden
Ph.D. Candidate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph. 225.892.3192


I think this is a minor flaw in libxml++. Version information is stored only in config.h, but that file is not installed, and it's not meant to be installed. Other C++ packages, like glibmm and gtkmm, have version information also in an installed configuration file.

At least LIBXMLXX_MAJOR_VERSION, LIBXMLXX_MINOR_VERSION, LIBXMLXX_MICRO_VERSION should be included in libxml++config.h. You can file a bug, if you want to, but even without a bug report I'll probably fix this in future versions of libxml++.

Kjell


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]