public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Issue with STL, queues and Stacks
@ 2003-01-14 23:26 Frank
  0 siblings, 0 replies; only message in thread
From: Frank @ 2003-01-14 23:26 UTC (permalink / raw)
  To: GNU GCC help list

I was wondering if I had to do something special to get the STL with
queues and stacks to work?  I have a program working jut fine under
Solaris compiled with Sun Workshop compiler, but will not compile with
g++. Line it's complaining about is :

queue<myclass> *ptr;

or

std::stack<myclass> *ptr;

I have using namespace std: int he the .h and it still compains with or
with out the std:: I have gcc 2.95.3

Thanks,

Frank



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-14 23:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-14 23:26 Issue with STL, queues and Stacks Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).