This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Allow gcc/gthr* to be compiled by C++ as well as C


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++.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]