From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4519 invoked by alias); 24 Apr 2002 01:46:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 4495 invoked by uid 71); 24 Apr 2002 01:46:04 -0000 Date: Tue, 23 Apr 2002 18:46:00 -0000 Message-ID: <20020424014603.4493.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Jason Merrill Subject: Re: c++/6432: __builtin_apply() rejected by g++ - per PR 102 Reply-To: Jason Merrill X-SW-Source: 2002-04/txt/msg01238.txt.bz2 List-Id: The following reply was made to PR c++/6432; it has been noted by GNATS. From: Jason Merrill To: Colin McCormack 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 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