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]

Re: c++/7934: [HP UX] definition of static member for template class missing in obj file


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<int>;
    
    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


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