From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29719 invoked by alias); 4 Dec 2002 21:57:18 -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 29695 invoked by uid 61); 4 Dec 2002 21:57:18 -0000 Date: Wed, 04 Dec 2002 13:57:00 -0000 Message-ID: <20021204215718.29694.qmail@sources.redhat.com> To: danglin@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, michael_gu@maxtor.com, mkjyg@charter.net, nobody@gcc.gnu.org From: danglin@gcc.gnu.org Reply-To: danglin@gcc.gnu.org, danglin@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, michael_gu@maxtor.com, mkjyg@charter.net, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/7934: [HP UX] definition of static member for template class missing in obj file X-SW-Source: 2002-12/txt/msg00243.txt.bz2 List-Id: Synopsis: [HP UX] definition of static member for template class missing in obj file Responsible-Changed-From-To: unassigned->danglin Responsible-Changed-By: danglin Responsible-Changed-When: Wed Dec 4 13:57:17 2002 Responsible-Changed-Why: Assigned. State-Changed-From-To: open->closed State-Changed-By: danglin State-Changed-When: Wed Dec 4 13:57:17 2002 State-Changed-Why: [HP-UX] 32-bit port doesn't support weak symbols and as a result template classes require explicit instantiation. The example will compile and run correctly if you add template class A; For other examples, look at the instantiations in libstdc++-v3/src/*-inst.cc. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7934