This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: Allow gcc/gthr* to be compiled by C++ as well as C
>>>>> "Loren" == Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
>>> Why it is type (void*) instead of int is unknown to me.
>> Perhaps it should be
>> static int __gthread_active_ptr = !! &pthread_create;
>> then?
> No disagreement from me. However, changing the type of
> __gthread_active_ptr is an ABI change instead of a mere bug fix to
> allow C++ compilation of the header...
I suppose so. Well,
(void *) !! &pthread_create
would still be more correct...
Jason