recompile of libsigc++

I’m trying to port the latest libsigc++ … but it seems to be very hard
to do. The code compiles flawless with the 3.x gcc under Linux.
What’s the problem?


DEPDIR=.deps depmode=gcc /bin/sh …/depcomp
/bin/sh …/libtool --tag=CXX --mode=compile QCC -DHAVE_CONFIG_H -I…
-I… -g -O2 -c -o s
mkdir .libs
QCC -DHAVE_CONFIG_H -I… -I… -g -O2 -c signal.cc
-Wp,-MD,.deps/signal.TPlo -fPIC -DPIC -o
In file included from …/sigc++/signal.h:8,
from signal.cc:22:
…/sigc++/signal_base.h: In instantiation of
std::list<sigc::slot_base, std::allocator<sigc ..../sigc++/signal_base.h:195: instantiated from std::list<sigc::slot_base, std::allocator<
…/sigc++/signal_base.h:195: instantiated from here
/usr/qnx630/target/qnx6/usr/include/cpp/list:74: error: typedef class std::allocator<sigc::slot_base> std::_List_val<sigc::slot_base, std::allocator<sigc::slot_base> >::_Alty' is protected ..../sigc++/signal_base.h:195: error: within this context /usr/qnx630/target/qnx6/usr/include/cpp/list:74: error: typedef class
std::allocatorsigc::slot_base std::_List_val<sigc::slot_base,
std::allocatorsigc::slot_base >::_Alty’ is protected
…/sigc++/signal_base.h:195: error: within this context
/usr/qnx630/target/qnx6/usr/include/cpp/list:74: error: typedef class std::allocator<sigc::slot_base> std::_List_val<sigc::slot_base, std::allocator<sigc::slot_base> >::_Alty' is protected ..../sigc++/signal_base.h:195: error: within this context cc: /usr/qnx630/host/qnx6/x86/usr/lib/gcc-lib/i386-pc-nto-qnx6.3.0/3.3.1/cc1plus error 1 make[3]: *** [signal.lo] Error 1 make[3]: Leaving directory /opt/libsigc+±2.0.16/sigc++’

Regards

–Armin

Armin Steinhoff wrote:

I’m trying to port the latest libsigc++ … but it seems to be very hard
to do. The code compiles flawless with the 3.x gcc under Linux.
What’s the problem?

IIRC there were a number of C++ issues fixed with 6.3.0 SP2; what
version of the OS/Momentics are you using?


Chris Herborth (cherborth@qnx.com) - Senior Zombiologist and Tech Writer
Never send a monster to do the work of an evil scientist.
Monthly QNX newsletter - http://www.qnx.com/news/forms/newsletter.html

Chris Herborth wrote:

Armin Steinhoff wrote:

I’m trying to port the latest libsigc++ … but it seems to be very
hard to do. The code compiles flawless with the 3.x gcc under Linux.
What’s the problem?


IIRC there were a number of C++ issues fixed with 6.3.0 SP2;

Good reason to install SP2.

what

version of the OS/Momentics are you using?

6.3.0 SP1

Best Regards

–Armin

“Armin Steinhoff” <a-steinhoff@web.de> wrote in message
news:e4hdn4$ac5$3@inn.qnx.com

Chris Herborth wrote:
Armin Steinhoff wrote:

I’m trying to port the latest libsigc++ … but it seems to be very hard
to do. The code compiles flawless with the 3.x gcc under Linux.
What’s the problem?


IIRC there were a number of C++ issues fixed with 6.3.0 SP2;

Good reason to install SP2.

And Core Os 6.3.2 also bring a lot of new features.

what
version of the OS/Momentics are you using?

6.3.0 SP1

Best Regards

–Armin