Re: usage of reserved C++-keyword in cthreads.h
commence Ondrej Hurt quotation:
>> > > I think that using #include <cthreads.h> in a C++ program is wrong
>> > > for exactly the same reasons that using it in a Pascal program would
>> > > be wrong.
>> > C++ is designed to link with C libraries. Pascal is not. The
>> > argument doesn't follow.
>> Um, then the C++ designers should be flamed for promising you a
>> language that "is designed to link with C libraries" but, in fact,
>> is not.
>
> Sorry but I can't help myself: I think that the one who wrote
> cthreads should be flamed for completely unnecessarily binding C++
> people to C (which they might think is crap)
So write a C shim for cthreads that is compatible with C++. Or wait
for pthreads.
--
///////////////// | | The spark of a pin
<sneakums@zork.net> | (require 'gnu) | dropping, falling feather-like.
\\\\\\\\\\\\\\\\\ | | There is too much noise.
Reply to: