By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,159 Members | 952 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,159 IT Pros & Developers. It's quick & easy.

link errors on template class

P: n/a
I have a static lib, libA.a, with class A in it. I created a class B,
which has a member std::list<A>.

B.cpp compiles fine. But when I try to build a program, against B.o and
libA.a, I get link errors for std::list.

Sun Workshop 5.0.

Any ideas?

~S

Jul 22 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Did you try without using std. Some older STL implementations
do not use the std namespace.

Sandeep
--
http://www.EventHelix.com/EventStudio
EventStudio 2.0 - System Architecture Design CASE Tool
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.