[sigc] What is changed in sigc::bind?
- From: Igor Gorbounov <igorbounov topazelectro ru>
- To: libsigc-list gnome org
- Subject: [sigc] What is changed in sigc::bind?
- Date: Wed, 12 Apr 2006 12:22:15 +0400
Hi, All!
I've recently updated from Fedora Core 4 to Fedora Core 5 and now my
app compiles with errors in this place:
"Glib::Thread::create(sigc::bind<Glib::ustring, DataRec&>(sigc::ptr_fun(
receive_data), local_conf.curr_aggregate, datarecord), false);"
the complains are about my struct DataRec, transfered by reference:
"usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: At global scope:
/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h: In
instantiation of Б─≤sigc::bound_argument<const DataRec&>Б─≥:
/usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1452: instantiated from
Б─≤sigc::bind_functor<-0x000000001,
sigc::pointer_functor2<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, DataRec&, void>, Glib::ustring, const DataRec&,
sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>Б─≥
mnemowin.cpp:1921: instantiated from here
/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h:56: error:
forming reference to reference type Б─≤const DataRec&Б─≥
/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h:63: error:
forming reference to reference type Б─≤const DataRec&Б─≥
/usr/include/sigc++-2.0/sigc++/adaptors/bound_argument.h:69: error:
forming reference to reference type Б─≤const DataRec&Б─≥"
and there is still a lot of such stuff omited here.
So something has changed between libsigc++ -2.0.11 (Fedora Core 4) and
2.0.17 (FC5).
And this something interferes with references.
Igor Gorbounov
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]