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

Re: [JDEV] c / c++?



> Hey guys...are we sticking purely with ANSI C, or is the use of C++ kosher
> at all? (I'm wondering because the Crypto++ toolkit has loads and loads of
> stuff..but it's all C++...like heavy use of templates and all...like I
> think it might not even compile with g++ 2.7.2.x).

I'd like to keep the distributed base source straight XP ANSI C, but since
your stuff will live in mod_digsig, I'm sure we can add all the right
conditional wrappers into the header files so that you can compile it with
a C++ compiler and we'll just link the two together, right?  I haven't
done much C++ stuff so I don't really know how that might work.

mod_digsig could be distributed similiar to how mod_php is for Apache, as
a seperately compiled external app, and just the .o/.a files are copied
into the jabber distro and then linked in.  Would this work?

Jer