From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17729 invoked by alias); 22 Jun 2005 19:41:49 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 17353 invoked by uid 22791); 22 Jun 2005 19:40:54 -0000 Received: from [209.10.210.110] (HELO internet.interraeda.com) (209.10.210.110) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 22 Jun 2005 19:40:54 +0000 Received: from InterraSystems.com (redhat [192.9.199.18]) by internet.interraeda.com (8.11.6/8.11.6) with ESMTP id j5MJejg18096; Wed, 22 Jun 2005 12:40:45 -0700 (PDT) Message-ID: <42B9BE57.30804@InterraSystems.com> Date: Wed, 22 Jun 2005 19:41:00 -0000 From: Shelly Adhikari User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 MIME-Version: 1.0 To: Jason Mancini CC: gcc@gcc.gnu.org Subject: Re: gcc template error? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg00981.txt.bz2 Jason Mancini wrote: > I suspect this line is the source of your problems: > friend T* func(T* p); > Y isn't a template parameter here, but a (concrete?) class named "Y". > The below compiles with 3.4.3 anyways... > Regards, > -Jason Yep, that line is the source of my problems. Can you send me a pointer to the C++ standard which says what you are saying? Two template parameters are not acceptable in my situation. I would have to find another solution. Best Regards, Shelly