middle-end/7934: definition of static member for template class missing in obj file
michael_gu@maxtor.com
michael_gu@maxtor.com
Mon Sep 16 12:19:00 GMT 2002
>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:
More information about the Gcc-bugs
mailing list