On 9/3/07, Senthil Nathan <rsennat gmail com> wrote:
> So, just thinking is it possible to link LIBXML2 C libraries with my C++
> programs,
> as we normally link c files with c++ using the preprocessor directive,
> "__cplusplus" and defining as extern "C".
Yes, you can. Without any problems.
BTW, libxml2 headers already have
#ifdef __cplusplus
extern "C" {
#endif
magic for you.