This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[Fwd: Issue with STL, queues and Stacks]
- From: Frank <fgeck at optonline dot net>
- To: GNU GCC help list <gcc-help at gcc dot gnu dot org>
- Date: Thu, 16 Jan 2003 08:05:54 -0500
- Subject: [Fwd: Issue with STL, queues and Stacks]
No thoughts on this?
-------- Original Message --------
Subject: Issue with STL, queues and Stacks
Date: Tue, 14 Jan 2003 18:24:04 -0500
From: Frank <fgeck@optonline.net>
To: GNU GCC help list <gcc-help@gcc.gnu.org>
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: in the .h and it still compains with or
with out the std:: I have gcc 2.95.3
Thanks,
Frank