How to include C++ code in PIDGIN source?

Mark Doliner mark at kingant.net
Fri Jul 11 03:31:26 EDT 2008


On Fri, Jul 11, 2008 at 12:10 AM, Eswar Goda <eswar at esqube.com> wrote:
> Hi all,
> I am new to this mailing list.I am doing some changes to the PIDGIN code
> to try and make it as a server to which many people can connect.I have
> to include some object oriented programming in the code.The code is not
> able to compile this.It is not able to identify any c++ commands.I am
> surprised because I thought g++ compiler compiles C++ code also.
>
> Can someone help me about this?Is there any changes I can make to the
> make file to make it compile C++.Please help
>
> Regards,
> Eswar

Currently Pidgin and libpurple are written only in C, with no C++.
And it is typically compiled using gcc, not g++.  In order to use C++
you would need to change configure.ac and maybe some Makefiles to use.
 I couldn't tell you what changes would need to be made, specifically.

-Mark




More information about the Devel mailing list