[sigc] libsigc++ and g++-4.3



  Hi all,

  I've been doing some test builds with g++-4.3 (on Debian, naturally),
to see what sort of preparation will be needed before it's released as
stable.  One of the packages I was trying to build bombed with this
error:

/usr/include/sigc++-2.0/sigc++/signal.h:1675: error: declaration of 'typedef struct sigc::slot_list<sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> > sigc::signal0<T_return, T_accumulator>::slot_list'
/usr/include/sigc++-2.0/sigc++/signal.h:168: error: changes meaning of 'slot_list' from 'struct sigc::slot_list<sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >'

  The typedef in question is protected by a #ifdef and a comment saying
that it exists only for backwards compatibility.  If I edit the include
file in /usr/include that declares the corresponding #define and remove
it, my compile succeeds.

  This also causes the build of the library itself to fail.  Is it safe
for me to just remove the problematic #define from the headers entirely?
I'd like to have future-proof packages if possible.

    Thanks,
  Daniel



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]