C++ #include <vector>

Hello,

I’m having trouble porting a C++ app that uses
#include

from /usr/include/g+±3/

The “vector” file is there but depends on “_G_config.h” a GNU header which
is missing.
There seem to be several other files under g+±3 that depend on _G_config.h
and other GNU header files.

Suggestions?

Thanks,
-david

Try using QCC instead of g++. Then you will use the far more standard
Dinkum libraries and headers rather then the GNU ones.

chris


David S. Alessio <David.Alessio@hsa.hitachi.com> wrote:

Hello,

I’m having trouble porting a C++ app that uses
#include <vector

from /usr/include/g+±3/

The “vector” file is there but depends on “_G_config.h” a GNU header which
is missing.
There seem to be several other files under g+±3 that depend on _G_config.h
and other GNU header files.

Suggestions?

Thanks,
-david

\


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

are you really sure that the dinkumware library supplied with QNX6 is “far
more standard” than libstdc+±v3 ?

Check for yourself:

http://www.dinkumware.com/conform_c.html

cheers,

Kris

“ethereal” <ethereal@inmail.sk> wrote in message
news:3df86db5$1@asrpx.mshdo

are you really sure that the dinkumware library supplied with QNX6 is “far
more standard” than libstdc+±v3 ?

“Kris Warkentin” <kewarken@qnx.com> wrote in message
news:ata5am$mou$1@nntp.qnx.com

Check for yourself:

http://www.dinkumware.com/conform_c.html

cheers,

Kris

no, we are talking about the C++ library. there is no in the
standard C library.

“ethereal” <ethereal@inmail.sk> wrote in message
news:3df99ff6$1@asrpx.mshdo

no, we are talking about the C++ library. there is no in the
standard C library.

Indeed, and all the C++ conformance stuff is on that page as well.

cheers,

Kris