STL

I downloaded QNX RTP and an having trouble compiling a C++ program that uses
STL. Specifically, just including “list” causes g++ to generate errors
about seeing a template when it expects C code. I am able to compile a lot
of other C++ code fine. The problem with STL seems to start once
“stl_config.h” is included. The STL I am using is under something like
/usr/include/g+±3

Any hints, compiler options etc.

-Chris Elliott Chris.P.Elliott@ieee.org

Only thing I can say is that i’m using and without any
problems.
markus

“Chris Elliott” <Chris.P.Elliott@ieee.org> wrote in message
news:9c04l8$l0u$1@inn.qnx.com

I downloaded QNX RTP and an having trouble compiling a C++ program that
uses
STL. Specifically, just including “list” causes g++ to generate errors
about seeing a template when it expects C code. I am able to compile a
lot
of other C++ code fine. The problem with STL seems to start once
“stl_config.h” is included. The STL I am using is under something like
/usr/include/g+±3

Any hints, compiler options etc.

-Chris Elliott > Chris.P.Elliott@ieee.org