From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5680 invoked by alias); 22 Oct 2002 15:36:05 -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 5626 invoked by uid 71); 22 Oct 2002 15:36:03 -0000 Date: Tue, 22 Oct 2002 08:36:00 -0000 Message-ID: <20021022153603.5624.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/6626: __attribute__ doen not works with function pointers Reply-To: Wolfgang Bangerth X-SW-Source: 2002-10/txt/msg00816.txt.bz2 List-Id: The following reply was made to PR c++/6626; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-bugs@gcc.gnu.org, Cc: danny_r_smith_2001@yahoo.co.nz Subject: Re: c++/6626: __attribute__ doen not works with function pointers Date: Tue, 22 Oct 2002 10:29:10 -0500 (CDT) Given this message http://gcc.gnu.org/ml/gcc-bugs/2002-10/msg00809.html shouldn't this report be closed as a user/syntax error? Although I must agree that the error message invalid conversion from `void (*)(int*)' to `void (*)(int*)' is not exactly enlightening... (The two function pointers have different attributes, which are not represented in the error message.) Regards Wolfgang ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth