ecpp

I’m trying out the embedded c++ libs (ecpp) and getting the following linker
errors

undefined reference to std::type_info::name(void) const

Is this a deliberate restriction of the ecpp libs or accidental?

Gill

Gill Peacegood <gill@pmeclimb.co.uk> wrote:

Hello Gill,

I’m trying out the embedded c++ libs (ecpp) and getting the following linker
errors

undefined reference to std::type_info::name(void) const

Is this a deliberate restriction of the ecpp libs or accidental?

Can you post a small test case?, with the options you pass to the compiler.

Thanks.

Regards,

Marcin

Gill

“Tools Mail Account” <tools@qnx.com> wrote in message
news:9sh32k$qdb$2@nntp.qnx.com

Gill Peacegood <> gill@pmeclimb.co.uk> > wrote:

Hello Gill,

I’m trying out the embedded c++ libs (ecpp) and getting the following
linker
errors

undefined reference to std::type_info::name(void) const

Is this a deliberate restriction of the ecpp libs or accidental?

Can you post a small test case?, with the options you pass to the compiler

While we’re on ecpp, have you put the include guards in yet? They
were missing in the version I got from developers.qnx.com a week or so ago.
And could you persuade Dinkumware to put in to the library too?

Tom

I decided it probably was deliberate because is missing from
/usr/include/ecpp but is present in /usr/include so I was picking up the
latter. Any way to avoid this?

I’m compiling with

QCC -Vgcc_ntox86_ecpp -finline-limit-1-I/usr/include/ecpp (+ a few other
options)

Tools Mail Account <tools@qnx.com> wrote in message
news:9sh32k$qdb$2@nntp.qnx.com

Gill Peacegood <> gill@pmeclimb.co.uk> > wrote:

Hello Gill,

I’m trying out the embedded c++ libs (ecpp) and getting the following
linker
errors

undefined reference to std::type_info::name(void) const

Is this a deliberate restriction of the ecpp libs or accidental?

Can you post a small test case?, with the options you pass to the
compiler.

Thanks.

Regards,

Marcin

Gill

THe Abridged C++ lib doesn’t include . For 6.1.1 we’re moving the full Dinkum lib
headers to /usr/include/cpp to avoid this sort of clash.

Gill Peacegood <gill@pmeclimb.co.uk> wrote:

I decided it probably was deliberate because is missing from
/usr/include/ecpp but is present in /usr/include so I was picking up the
latter. Any way to avoid this?

I’m compiling with

QCC -Vgcc_ntox86_ecpp -finline-limit-1-I/usr/include/ecpp (+ a few other
options)

Tools Mail Account <> tools@qnx.com> > wrote in message
news:9sh32k$qdb$> 2@nntp.qnx.com> …
Gill Peacegood <> gill@pmeclimb.co.uk> > wrote:

Hello Gill,

I’m trying out the embedded c++ libs (ecpp) and getting the following
linker
errors

undefined reference to std::type_info::name(void) const

Is this a deliberate restriction of the ecpp libs or accidental?

Can you post a small test case?, with the options you pass to the
compiler.

Thanks.

Regards,

Marcin

Gill


cburgess@qnx.com