This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

middle-end/7934: definition of static member for template class missing in obj file


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]