This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Allow gcc/gthr* to be compiled by C++ as well as C
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: PATCH: Allow gcc/gthr* to be compiled by C++ as well as C
- From: Jason Merrill <jason_merrill at redhat dot com>
- Date: 08 Jun 2001 11:57:18 +0100
- Cc: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>, libstdc++ at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- References: <200105301345.f4UDjuo32030@latour.rsch.comm.mot.com><200106051514.f55FE5V17145@latour.rsch.comm.mot.com><m37kyq7xx4.fsf@prospero.cambridge.redhat.com><20010607144048.A2262@redhat.com>
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:
> On Wed, Jun 06, 2001 at 12:43:20PM +0100, Jason Merrill wrote:
>> Perhaps it should be
>>
>> static int __gthread_active_ptr = !! &pthread_create;
>>
>> then?
> That isn't valid C. This file must be usable by both C and C++.
Good point. OK, never mind...
Jason