Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 69977 invoked from network); 6 Jan 2006 23:50:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jan 2006 23:50:40 -0000 Received: (qmail 15965 invoked by uid 500); 6 Jan 2006 23:50:40 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 15949 invoked by uid 500); 6 Jan 2006 23:50:40 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 15938 invoked by uid 99); 6 Jan 2006 23:50:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2006 15:50:37 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B4CEC195 for ; Sat, 7 Jan 2006 00:50:16 +0100 (CET) Message-ID: <2021889345.1136591416738.JavaMail.jira@ajax.apache.org> Date: Sat, 7 Jan 2006 00:50:16 +0100 (CET) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Created: (STDCXX-99) [HP aCC 3.63] error 475 on an explicit instantiation before definition MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [HP aCC 3.63] error 475 on an explicit instantiation before definition ---------------------------------------------------------------------- Key: STDCXX-99 URL: http://issues.apache.org/jira/browse/STDCXX-99 Project: STDCXX Type: Bug Components: External Environment: HP aCC 3.63 Reporter: Martin Sebor Opened by sebor@roguewave.com (Martin Sebor) on 2005-04-22 09:36 -------- Original Message -------- Subject: aCC 3.63 bogus error 475 on an explicit instantiation before definition Date: Fri, 22 Apr 2005 10:35:35 -0600 From: Martin Sebor To: acxx-beta@cup.hp.com Hi, This bug appeared after we rearranged some of our template instantiation code to work around a bug in another compiler. aCC 6.0 works fine. Martin $ cat t.cpp && aCC -c -V t.cpp template struct A; template void foo (); template void foo () { typename A::B b; } template void foo(); template struct A { struct B { }; }; aCC: HP ANSI C++ B3910B A.03.63 Error 475: Exact position unknown; near ["t.cpp", line 7]. # Cannot generate a specialization of incomplete template struct A. Error 618: "t.cpp", line 7 # The definition of template foo contains typename qualification 'A::B', yet generation of specialization "void foo()" implies that 'A' is 'tentative struct A', which is incomplete. template void foo(); ^^^^^^^^^^^^^^^^^^^^^^^^^ ------- Additional Comment #1 From Martin Sebor on 2005-04-22 15:12 ------- Came up as a result of the following change made to address bug #448: http://perforce.cvo.roguewave.com/@md=d&cd=//&c=bb7@//174217?ac=10 ------- Additional Comment #2 From Martin Sebor on 2005-04-25 10:20 ------- -------- Original Message -------- Subject: RE: aCC 3.63 bogus error 475 on an explicit instantiation before definition Date: Mon, 25 Apr 2005 11:01:19 +0530 From: S G Ganesh Reply-To: To: 'Martin Sebor' , Martin, I've raised CR JAGaf61023 for this. -Ganesh -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira