Hi Holger and Andreas,
I agree with Andreas, actually most of the code is c, not c++, so I think
that the right solution is to get rid of с++ completely.
Andreas, if you have patches for that and time, I believe that it make
sense to create new branch with these patches.
After that I can try to turn dissecting part from c++ to c.
What do you think about it?
2013/7/29 Andreas Eversberg <andreas(a)eversberg.eu>
Holger Hans Peter Freyther wrote:
From my point
of view we are taking the hit of g++ without really using any of the
features that C++ vould provide (e.g. no stack variables with automatic
cleanup..).
hi holger,
i have some old patches somewhere that turn everything from c++ to c,
except the dissecting part, which stays c++, iirc. i never finished
them, because there was someone doing a similar work, so i didn't want
to do double work. in my opinion it makes sense to change it, since we
don't (and won't) use any c++ features at our code.
I think we should find a more nice solution to
extern "C".
that would be my solution. if you like, i could dig these
patches out.
regards,
andreas
--
Regards,
Ivan Kluchnikov.
http://fairwaves.ru