This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
middle-end/7934: definition of static member for template class missing in obj file
- From: michael_gu at maxtor dot com
- To: gcc-gnats at gcc dot gnu dot org
- Cc: mkjyg at charter dot net
- Date: 16 Sep 2002 19:14:28 -0000
- Subject: middle-end/7934: definition of static member for template class missing in obj file
- Reply-to: michael_gu at maxtor dot com
>Number: 7934
>Category: middle-end
>Synopsis: definition of static member for template class missing in obj file
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 16 12:16:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Michael Gu
>Release: gcc 3.1.1 (gcc or g++ compiler for C++)
>Organization:
>Environment:
hp-ux 11
>Description:
The definition of a static data member of a template class seems to be missing in produced obj file. HP's LD will report unresolved symbol for that static member.
nm of the object file find the symbol to be 'U'.
The same version on SunOS seems to work fine as there is a week object defined in object file.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: