This is the mail archive of the gcc-help@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]

Issue with STL, queues and Stacks


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




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