On 06/10/2010 09:45 AM, Gary V. Vaughan wrote:
I think it would be better in c++.
No, that would mean you have to jump through hoops to use it from C.
And it would make me cry myself to sleep at night. I avoid C++, Perl,
McDonalds and suicide bomber recruiters as much as I possibly can. I'm
still undecided as to which one is worst for your health...
It's simple to write a library in C++ but make its public interface C.
There are many projects that use what I would describe as sane C++
(unfortunately there are also many that use every possible feature).
IMO, setjmp/longjmp is significantly uglier.
But, let's end this debate, it's unlikely to lead to anything productive :)
Peter
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool