c++/6432: __builtin_apply() rejected by g++ - per PR 102
Jason Merrill
jason@redhat.com
Tue Apr 23 18:46:00 GMT 2002
The following reply was made to PR c++/6432; it has been noted by GNATS.
From: Jason Merrill <jason@redhat.com>
To: Colin McCormack <colin@field.medicine.adelaide.edu.au>
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: c++/6432: __builtin_apply() rejected by g++ - per PR 102
Date: Wed, 24 Apr 2002 02:43:54 +0100
>>>>> "Colin" == Colin McCormack <colin@field.medicine.adelaide.edu.au> writes:
> On Wednesday 24 April 2002 09:58, jason@gcc.gnu.org wrote:
>> As Gaby said when closing PR 102, you can make this work by casting fn1
>> to (void (*)(...)) instead of (void (*)()).
> Gaby must, as far as I can tell, have been compiling it under gcc and not
> g++.
More likely, he was compiling it under g++ 3.0.4 or the 3.1 branch, where
it works fine. I've verified that it doesn't work under 2.95, but that's
unlikely to change, as nobody's working on 2.95 anymore.
Jason
More information about the Gcc-prs
mailing list