From laranjatomate at yahoo.com.br Wed Jun 14 16:43:27 2006 From: laranjatomate at yahoo.com.br (=?iso-8859-1?q?Francisco=20Jos=E9=20Alves?=) Date: Wed, 14 Jun 2006 20:43:27 +0000 (GMT) Subject: [sigc] sigc++ missing Message-ID: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Good morning. I was trying to compile libsig++ but it alerts there is not sigc++ installed. But I can't find it anyhwhere. Thanks for attention laranjatomate at hahoo.com.br __________________________________________________ Fale com seus amigos de gra?a com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ __________________________________________________ Fale com seus amigos de gra?a com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.gnome.org/archives/libsigc-list/attachments/20060614/e4745a14/attachment.htm From eckhardt at satorlaser.com Mon Jun 19 02:30:34 2006 From: eckhardt at satorlaser.com (Ulrich Eckhardt) Date: Mon, 19 Jun 2006 08:30:34 +0200 Subject: [sigc] sigc++ missing In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Message-ID: <200606190830.34532.eckhardt@satorlaser.com> On Wednesday 14 June 2006 22:43, Francisco Jos? Alves wrote: > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. But I can't find it anyhwhere. What is 'it'? What is the exact error message? What did you do? What did you expect to happen and what happened? Uli **************************************************** Visit our website at **************************************************** This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer. E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited does not accept liability for any such corruption, interception, viruses or amendment or their consequences. **************************************************** From murrayc at murrayc.com Mon Jun 19 02:16:45 2006 From: murrayc at murrayc.com (Murray Cumming) Date: Mon, 19 Jun 2006 08:16:45 +0200 (CEST) Subject: [sigc] sigc++ missing In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Message-ID: <64734.194.138.18.132.1150697805.squirrel@webmail.murrayc.com> > Good morning. > > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. > But I can't find it anyhwhere. What is the exact error message that you see? Also, if you are using Linux, I strongly advise you to use the official packages from your distro. Murray Cumming murrayc at murrayc.com www.murrayc.com www.openismus.com From murrayc at murrayc.com Mon Jun 19 16:23:49 2006 From: murrayc at murrayc.com (Murray Cumming) Date: Mon, 19 Jun 2006 22:23:49 +0200 Subject: [sigc] Renaming nil In-Reply-To: <1149624489.6086.10.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> Message-ID: <1150748629.6042.21.camel@localhost.localdomain> On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 10:17 -0700, R?gis Duchesne wrote: > > Folks, > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > been any comment. > > Sorry, I didn't consider it urgent, and thought it best to give enough > time for comments and problems to surface. > > > Does anybody need more time to review it, or can we proceed with the > > checkin step? > > I've checked it in. Thanks for the perfect patch. > > (Please put it in bugzilla next time, like you usually do.) Note that we have not released a new version of this as a tarball yet. I am worried that it might be causing this problem, when I run a Ubuntu-packaged version of glom in an environment that has a cvs-built gtkmm: murrayc at ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom glom: symbol lookup error: glom: undefined symbol: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE murrayc at ubuntumurrayc:~/cvs/gnome216/gtkmm$ I guess I need to do some more investigation. -- Murray Cumming murrayc at murrayc.com www.murrayc.com www.openismus.com From murrayc at murrayc.com Mon Jun 19 16:30:10 2006 From: murrayc at murrayc.com (Murray Cumming) Date: Mon, 19 Jun 2006 22:30:10 +0200 Subject: [sigc] Renaming nil In-Reply-To: <1150748629.6042.21.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> Message-ID: <1150749010.6042.22.camel@localhost.localdomain> On Mon, 2006-06-19 at 22:23 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > > On Tue, 2006-06-06 at 10:17 -0700, R?gis Duchesne wrote: > > > Folks, > > > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > > been any comment. > > > > Sorry, I didn't consider it urgent, and thought it best to give enough > > time for comments and problems to surface. > > > > > Does anybody need more time to review it, or can we proceed with the > > > checkin step? > > > > I've checked it in. Thanks for the perfect patch. > > > > (Please put it in bugzilla next time, like you usually do.) > > Note that we have not released a new version of this as a tarball yet. > > I am worried that it might be causing this problem, when I run a > Ubuntu-packaged version of glom in an environment that has a cvs-built > gtkmm: > > murrayc at ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom > glom: symbol lookup error: glom: undefined symbol: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE > murrayc at ubuntumurrayc:~/cvs/gnome216/gtkmm$ > > I guess I need to do some more investigation. nm shows that this symbol is exported: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE So I guess we have to roll this change back in cvs. -- Murray Cumming murrayc at murrayc.com www.murrayc.com www.openismus.com From hpreg at vmware.com Mon Jun 19 16:51:57 2006 From: hpreg at vmware.com (=?UTF-8?B?UsOpZ2lzIER1Y2hlc25l?=) Date: Mon, 19 Jun 2006 13:51:57 -0700 Subject: [sigc] Renaming nil In-Reply-To: <1150749010.6042.22.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> <1150749010.6042.22.camel@localhost.localdomain> Message-ID: <44970E6D.4020209@vmware.com> Murray, >>Note that we have not released a new version of this as a tarball yet. >> >>I am worried that it might be causing this problem, when I run a >>Ubuntu-packaged version of glom in an environment that has a cvs-built >>gtkmm: >> >>murrayc at ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom >>glom: symbol lookup error: glom: undefined symbol: >>_ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE >>murrayc at ubuntumurrayc:~/cvs/gnome216/gtkmm$ >> >>I guess I need to do some more investigation. > > > nm shows that this symbol is exported: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE > My build of sigc++ does not seem to export export any 'nil' or 'none' symbols. This seems to imply that 'nil' is not part of the sigc++ ABI. But what you are seeing seems to imply that 'nil' is part of gtkmm's ABI. How annoying. I don't have a solution to that problem so far, I'll try to think some more about this. Thanks, -- hpreg From tshead@k-3d.com Sat Jun 3 23:11:00 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A89DB3B0474 for ; Sat, 3 Jun 2006 23:11:00 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11412-09 for ; Sat, 3 Jun 2006 23:10:57 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id 00E6D3B00F4 for ; Sat, 3 Jun 2006 23:10:56 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 56753107537E for ; Sat, 3 Jun 2006 20:53:57 -0600 (MDT) From: "Timothy M. Shead" To: "libsigc-list@gnome.org" Content-Type: text/plain Date: Sat, 03 Jun 2006 21:10:54 -0600 Message-Id: <1149390654.17329.8.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.344 tagged_above=-999 required=2 tests=[AWL=0.120, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.344 X-Spam-Level: Subject: [sigc] Accumulators X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 03:11:00 -0000 I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an accumulator for the first time, one that takes slots that return int and returns a std::vector. Unfortunately, I get a compile error - it seems that the iterators passed to the accumulator are picking-up on the accumulator result_type, instead of the slot result_type, leading to errors. Does anyone have an example of an accumulator whose result type differs from the slot result_type? Thanks in advance, Tim Shead #include #include class accumulate { public: typedef std::vector result_type; template result_type operator()(IteratorT First, IteratorT Last) { result_type result; for(; First != Last; ++First) result.push_back(*First); return result; } }; int foo() { return 1; } int bar() { return 2; } int main(int argc, char* argv[]) { sigc::signal0 signal; signal.connect(sigc::ptr_fun(foo)); signal.connect(sigc::ptr_fun(bar)); std::vector results = signal.emit(); return 0; } $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc ++-2.0/include -lstdc++ -lsigc-2.0 test.cpp: In member function `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]': /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here test.cpp:25: error: no matching function for call to `std::vector >::push_back(std::vector >)' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/stl_vector.h:596: error: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator] /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result sigc::internal::slot_iterator_buf::operator*() const [with T_emitter = sigc::internal::signal_emit0, T_result = std::vector >]': test.cpp:25: instantiated from `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]' /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for 'operator=' in 'this->sigc::internal::slot_iterator_buf, std::vector > >::r_ = this->sigc::internal::slot_iterator_buf, std::vector > >::c_->sigc::internal::signal_emit0::operator() [with T_return = int, T_accumulator = accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* [with _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const sigc::slot_base*]())))' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/vector.tcc:128: error: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator] distcc[12622] ERROR: compile test.cpp on localhost failed From martin-ml@hippogriff.de Mon Jun 5 17:06:59 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 76CBB3B03B1 for ; Mon, 5 Jun 2006 17:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32083-07 for ; Mon, 5 Jun 2006 17:06:48 -0400 (EDT) Received: from lsrv.de (smtp-gateway.de [80.190.148.105]) by menubar.gnome.org (Postfix) with ESMTP id 0523D3B086B for ; Mon, 5 Jun 2006 17:06:47 -0400 (EDT) Received: from dslb-084-061-217-179.pools.arcor-ip.net ([84.61.217.179]) by lsrv.de with esmtpa (Exim 4.54) id 1FnMHA-00029s-Hy; Mon, 05 Jun 2006 23:06:16 +0200 Subject: Re: [sigc] Accumulators From: Martin Schulze To: "Timothy M. Shead" In-Reply-To: <1149390654.17329.8.camel@joe.k-3d.com> References: <1149390654.17329.8.camel@joe.k-3d.com> Content-Type: text/plain Date: Mon, 05 Jun 2006 23:06:40 +0200 Message-Id: <1149541600.8763.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.464 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.464 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 21:06:59 -0000 You are right - this look like a bug! Most likely, in signal.h.m4, definition of struct signal_emit$1, line: typedef internal::slot_iterator_buf slot_iterator_buf_type; should read: typedef internal::slot_iterator_buf slot_iterator_buf_type; Could you file a bug report, please? Thanks! Martin Am Samstag, den 03.06.2006, 21:10 -0600 schrieb Timothy M. Shead: > I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an > accumulator for the first time, one that takes slots that return int and > returns a std::vector. Unfortunately, I get a compile error - it > seems that the iterators passed to the accumulator are picking-up on the > accumulator result_type, instead of the slot result_type, leading to > errors. Does anyone have an example of an accumulator whose result type > differs from the slot result_type? > > Thanks in advance, > Tim Shead > > #include > #include > > class accumulate > { > public: > typedef std::vector result_type; > > template > result_type operator()(IteratorT First, IteratorT Last) > { > result_type result; > > for(; First != Last; ++First) > result.push_back(*First); > > return result; > } > }; > > int foo() > { > return 1; > } > > int bar() > { > return 2; > } > > int main(int argc, char* argv[]) > { > sigc::signal0 signal; > > signal.connect(sigc::ptr_fun(foo)); > signal.connect(sigc::ptr_fun(bar)); > > std::vector results = signal.emit(); > > return 0; > } > > $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc > ++-2.0/include -lstdc++ -lsigc-2.0 > test.cpp: In member function `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]': > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > test.cpp:25: error: no matching function for call to `std::vector std::allocator >::push_back(std::vector > >)' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/stl_vector.h:596: error: candidates > are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = > int, > _Alloc = std::allocator] > /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result > sigc::internal::slot_iterator_buf::operator*() > const > [with T_emitter = sigc::internal::signal_emit0, > T_result = > std::vector >]': > test.cpp:25: instantiated from `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]' > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for > 'operator=' in > > 'this->sigc::internal::slot_iterator_buf accumulate>, std::vector > >::r_ = > > this->sigc::internal::slot_iterator_buf accumulate>, std::vector > > >::c_->sigc::internal::signal_emit0 T_accumulator>::operator() > [with T_return = int, T_accumulator = > accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* > [with > _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const > sigc::slot_base*]())))' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/vector.tcc:128: error: candidates > are: std::vector<_Tp, _Alloc>& std::vector<_Tp, > _Alloc>::operator=(const > std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = > std::allocator] > distcc[12622] ERROR: compile test.cpp on localhost failed > > _______________________________________________ > libsigc-list mailing list > libsigc-list@gnome.org > http://mail.gnome.org/mailman/listinfo/libsigc-list From tshead@k-3d.com Mon Jun 5 22:00:21 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E75E03B009D for ; Mon, 5 Jun 2006 22:00:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16063-05 for ; Mon, 5 Jun 2006 22:00:18 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id EAA333B0012 for ; Mon, 5 Jun 2006 22:00:17 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 4CB05107E33F; Mon, 5 Jun 2006 19:43:18 -0600 (MDT) Subject: Re: [sigc] Accumulators From: "Timothy M. Shead" To: Martin Schulze In-Reply-To: <1149541600.8763.36.camel@localhost.localdomain> References: <1149390654.17329.8.camel@joe.k-3d.com> <1149541600.8763.36.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 05 Jun 2006 20:00:15 -0600 Message-Id: <1149559215.29091.1.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.347 tagged_above=-999 required=2 tests=[AWL=0.117, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.347 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:00:21 -0000 On Mon, 2006-06-05 at 23:06 +0200, Martin Schulze wrote: > You are right - this look like a bug! > > Most likely, in signal.h.m4, definition of struct signal_emit$1, line: > > typedef internal::slot_iterator_buf slot_iterator_buf_type; > > should read: > > typedef internal::slot_iterator_buf > slot_iterator_buf_type; > > Could you file a bug report, please? Done! Many thanks, Tim From hpreg@vmware.com Tue Jun 6 13:19:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1543C3B0AE4 for ; Tue, 6 Jun 2006 13:19:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08456-02 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id 3A1763B0AE1 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 68C4A6E09 for ; Tue, 6 Jun 2006 10:19:07 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 0A19E6FC367 for ; Tue, 6 Jun 2006 10:19:08 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Jun 2006 10:19:08 -0700 Message-ID: <4485B89A.9070702@vmware.com> Date: Tue, 06 Jun 2006 10:17:14 -0700 From: =?ISO-8859-1?Q?R=E9gis_Duchesne?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> In-Reply-To: <4477F9F2.7070400@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Jun 2006 17:19:08.0787 (UTC) FILETIME=[52202430:01C6898D] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:19:12 -0000 Folks, I sent this patch (which allows to compile the libsigc++ headers with an Objective-C++ compiler) to the list 10 days ago, and so far there hasn't been any comment. Does anybody need more time to review it, or can we proceed with the checkin step? Thanks, -- hpreg Régis Duchesne wrote: > As promised, here is a patch. > > I produced it from the public CVS repository, which seems to be lagging > a bit. So expect trivial conflicts in ChangeLog. > > Also I don't know what is wrong on my box, but ./autogen.sh doesn't just > work. So I couldn't do any testing. Although I'm not expecting any > problem, at the very least, I wanted to do 'make && make tests'. Can > whoever applies this patch do that testing and just let me know if I > broke something? > > Thanks, > > > ------------------------------------------------------------------------ > > Index: ChangeLog > =================================================================== > RCS file: /cvs/gnome/libsigc++2/ChangeLog,v > retrieving revision 1.228 > diff -u -r1.228 ChangeLog > --- ChangeLog 21 Dec 2005 08:28:17 -0000 1.228 > +++ ChangeLog 27 May 2006 06:40:25 -0000 > @@ -1,3 +1,14 @@ > +2006-05-26 Régis Duchesne > + > + * sigc++/adaptors/macros/bind.h.m4: > + * sigc++/adaptors/macros/retype.h.m4: > + * sigc++/functors/macros/functor_trait.h.m4: > + * sigc++/functors/macros/slot.h.m4: > + * sigc++/macros/retype.h.m4: > + * sigc++/macros/signal.h.m4: > + Renamed 'nil' to 'none' to allow an Objective-C++ compiler to compile > + the library header files. > + > 2005-12-21 Murray Cumming > > * sigc++/macros/signal.h.m4: Make remaining > Index: sigc++/adaptors/macros/bind.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/bind.h.m4,v > retrieving revision 1.19 > diff -u -r1.19 bind.h.m4 > --- sigc++/adaptors/macros/bind.h.m4 10 Jun 2005 17:35:40 -0000 1.19 > +++ sigc++/adaptors/macros/bind.h.m4 27 May 2006 06:40:26 -0000 > @@ -80,7 +80,7 @@ > * @ingroup bind > */ > template > -struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(nil, CALL_SIZE - 1))> : public adapts > +struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(none, CALL_SIZE - 1))> : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -120,7 +120,7 @@ > * @ingroup bind > */ > template > -struct bind_functor : public adapts > +struct bind_functor : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -332,7 +332,7 @@ > * > * @ingroup bind > */ > -template > +template > struct bind_functor; > > FOR(0,eval(CALL_SIZE-1),[[BIND_FUNCTOR_LOCATION(%1)]])dnl > Index: sigc++/adaptors/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/retype.h.m4,v > retrieving revision 1.8 > diff -u -r1.8 retype.h.m4 > --- sigc++/adaptors/macros/retype.h.m4 1 Feb 2005 11:02:20 -0000 1.8 > +++ sigc++/adaptors/macros/retype.h.m4 27 May 2006 06:40:26 -0000 > @@ -133,7 +133,7 @@ > * > * @ingroup retype > */ > -template > +template > struct retype_functor > : public adapts > { > Index: sigc++/functors/macros/functor_trait.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/functor_trait.h.m4,v > retrieving revision 1.4 > diff -u -r1.4 functor_trait.h.m4 > --- sigc++/functors/macros/functor_trait.h.m4 12 Apr 2004 21:53:37 -0000 1.4 > +++ sigc++/functors/macros/functor_trait.h.m4 27 May 2006 06:40:26 -0000 > @@ -77,14 +77,25 @@ > > namespace sigc { > > -/** nil struct type. > - * The nil struct type is used as default template argument in the > +/** none struct type. > + * The none struct type is used as default template argument in the > * unnumbered sigc::signal and sigc::slot templates. > * > * @ingroup signal > * @ingroup slot > */ > -struct nil; > +struct none; > + > +/** nil type (deprecated). > + * The nil type is an alias for the none struct type. It is not available when > + * using an Objective-C++ compiler (because nil has a different meaning in > + * Objective-C). Otherwise its use is deprecated, but it is defined so that > + * source code written against libsigc++ versions <= 2.0.17 still compiles. > + * @deprecated Use none instead. > + */ > +#ifndef __OBJC__ > +typedef none nil; > +#endif > > > /** @defgroup functors Functors > Index: sigc++/functors/macros/slot.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/slot.h.m4,v > retrieving revision 1.17 > diff -u -r1.17 slot.h.m4 > --- sigc++/functors/macros/slot.h.m4 10 Jun 2005 17:35:40 -0000 1.17 > +++ sigc++/functors/macros/slot.h.m4 27 May 2006 06:40:26 -0000 > @@ -26,7 +26,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -107,7 +107,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -125,18 +125,18 @@ > * > * @ingroup slot > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::slot$1 template. > * See the base class for useful methods. > * This is the template specialization of the unnumbered sigc::slot > * template for $1 argument(s), specialized for different numbers of arguments > - * This is possible because the template has default (nil) template types. > + * This is possible because the template has default (none) template types. > dnl * > dnl * @ingroup slot > */ > template ]) > -class slot ifelse($1, $2,,[]) > +class slot ifelse($1, $2,,[]) > : public slot$1 > { > public: > Index: sigc++/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/retype.h.m4,v > retrieving revision 1.7 > diff -u -r1.7 retype.h.m4 > --- sigc++/macros/retype.h.m4 1 Feb 2005 11:02:21 -0000 1.7 > +++ sigc++/macros/retype.h.m4 27 May 2006 06:40:27 -0000 > @@ -77,7 +77,7 @@ > > namespace SigC { > > -template > +template > struct retype_slot_functor > : public ::sigc::adapts > { > Index: sigc++/macros/signal.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/signal.h.m4,v > retrieving revision 1.24 > diff -u -r1.24 signal.h.m4 > --- sigc++/macros/signal.h.m4 21 Dec 2005 08:28:18 -0000 1.24 > +++ sigc++/macros/signal.h.m4 27 May 2006 06:40:27 -0000 > @@ -23,7 +23,7 @@ > * This template implements the emit() function of signal$1. > * Template specializations are available to optimize signal > * emission when no accumulator is used, i.e. the template > - * argument @e T_accumulator is @p nil. > + * argument @e T_accumulator is @p none. > */ > template > struct signal_emit$1 > @@ -108,9 +108,9 @@ > * function for the case that no accumulator is used. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef T_return result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -206,9 +206,9 @@ > * return type is @p void. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef void result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -284,13 +284,13 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > * > * You should use the more convenient unnumbered sigc::signal template. > * > * @ingroup signal > */ > -template > +template > class signal$1 > : public signal_base > { > @@ -330,7 +330,7 @@ > * During signal emission all slots that have been connected > * to the signal are invoked unless they are manually set into > * a blocking state. The parameters are passed on to the slots. > - * If @e T_accumulated is not @p nil, an accumulator of this type > + * If @e T_accumulated is not @p none, an accumulator of this type > * is used to process the return values of the slot invocations. > * Otherwise, the return value of the last slot invoked is returned.dnl > FOR(1, $1,[ > @@ -403,7 +403,7 @@ > * the emit() function: > * - @e T_return The desired return type of the emit() function.dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of emit(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of emit(). The default @p none means no argument.]) > * > * To specify an accumulator type the nested class signal::accumulated can be used. > * > @@ -417,7 +417,7 @@ > * > * @ingroup signal > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::signal$1 template. > * See the base class for useful methods. > @@ -429,8 +429,8 @@ > ])dnl > */ > template ]) > -class signal ifelse($1, $2,,[]) > - : public signal$1 > +class signal ifelse($1, $2,,[]) > + : public signal$1 > { > public: > ifelse($1, $2,[dnl > @@ -498,7 +498,7 @@ > > signal() {} > signal(const signal& src) > - : signal$1(src) {} > + : signal$1(src) {} > }; > > ]) > @@ -525,12 +525,12 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > * > * @deprecated Use the unnumbered template sigc::signal instead. > * @ingroup compat > */ > -template > +template > class Signal$1 > : public ::sigc::signal$1 > { From murrayc@murrayc.com Tue Jun 6 16:08:18 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6E8503B0236 for ; Tue, 6 Jun 2006 16:08:18 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18750-08 for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from swarthymail-a2.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 7EABE3B0B3E for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from noname (p5497CD77.dip.t-dialin.net [84.151.205.119]) by swarthymail-a2.dreamhost.com (Postfix) with ESMTP id 806C4EB4D5; Tue, 6 Jun 2006 13:08:12 -0700 (PDT) Subject: Re: [sigc] Renaming nil From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <4485B89A.9070702@vmware.com> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 06 Jun 2006 22:08:09 +0200 Message-Id: <1149624489.6086.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.141 tagged_above=-999 required=2 tests=[AWL=-0.263, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=0.721] X-Spam-Score: -2.141 X-Spam-Level: Cc: libsigc-list@gnome.org X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 20:08:18 -0000 On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > Folks, > > I sent this patch (which allows to compile the libsigc++ headers with an > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > been any comment. Sorry, I didn't consider it urgent, and thought it best to give enough time for comments and problems to surface. > Does anybody need more time to review it, or can we proceed with the > checkin step? I've checked it in. Thanks for the perfect patch. (Please put it in bugzilla next time, like you usually do.) -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From laranjatomate@yahoo.com.br Wed Jun 14 16:44:01 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3FA4E3B0276 for ; Wed, 14 Jun 2006 16:44:01 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31686-05 for ; Wed, 14 Jun 2006 16:44:00 -0400 (EDT) Received: from web34307.mail.mud.yahoo.com (web34307.mail.mud.yahoo.com [66.163.178.139]) by menubar.gnome.org (Postfix) with SMTP id E612C3B0209 for ; Wed, 14 Jun 2006 16:43:59 -0400 (EDT) Received: (qmail 15176 invoked by uid 60001); 14 Jun 2006 20:43:27 -0000 Message-ID: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Received: from [143.107.239.167] by web34307.mail.mud.yahoo.com via HTTP; Wed, 14 Jun 2006 20:43:27 GMT Date: Wed, 14 Jun 2006 20:43:27 +0000 (GMT) From: =?iso-8859-1?q?Francisco=20Jos=E9=20Alves?= To: libsigc-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1872659769-1150317807=:13614" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=1.367 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, DNS_FROM_RFC_ABUSE=0.2, HTML_10_20=1.351, HTML_MESSAGE=0.001] X-Spam-Score: 1.367 X-Spam-Level: * X-Mailman-Approved-At: Sun, 18 Jun 2006 10:57:18 -0400 Subject: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 20:44:01 -0000 --0-1872659769-1150317807=:13614 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning. I was trying to compile libsig++ but it alerts there is not sigc++ installed. But I can't find it anyhwhere. Thanks for attention laranjatomate@hahoo.com.br __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning.

I was trying to compile libsig++ but it alerts there is not sigc++ installed.
But I can't find it anyhwhere.

Thanks for attention
laranjatomate@hahoo.com.br

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614-- From Eckhardt@satorlaser.com Mon Jun 19 02:30:27 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4D2C43B0D83 for ; Mon, 19 Jun 2006 02:30:27 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28331-04 for ; Mon, 19 Jun 2006 02:30:24 -0400 (EDT) Received: from vMimePS1.domino-printing.com (mail.domino-uk.com [193.131.116.193]) by menubar.gnome.org (Postfix) with ESMTP id 0C1F53B0D80 for ; Mon, 19 Jun 2006 02:30:23 -0400 (EDT) Received: from emea-exchange3.emea.dps.local (EMEA-EXCHANGE3) by vMimePS1.domino-printing.com (Clearswift SMTPRS 5.2.3) with ESMTP id for ; Mon, 19 Jun 2006 07:27:42 +0100 Received: from tuxator2.emea.dps.local ([192.168.55.75]) by emea-exchange3.emea.dps.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 08:30:34 +0200 From: Ulrich Eckhardt Organization: Sator Laser GmbH To: libsigc-list@gnome.org Date: Mon, 19 Jun 2006 08:30:34 +0200 User-Agent: KMail/1.9.1 References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606190830.34532.eckhardt@satorlaser.com> X-OriginalArrivalTime: 19 Jun 2006 06:30:34.0930 (UTC) FILETIME=[DF078920:01C69369] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.386 tagged_above=-999 required=2 tests=[AWL=-0.781, BAYES_20=-0.74, FORGED_RCVD_HELO=0.135] X-Spam-Score: -1.386 X-Spam-Level: Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:30:27 -0000 On Wednesday 14 June 2006 22:43, Francisco Jos=E9 Alves wrote: > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. But I can't find it anyhwhere. What is 'it'? What is the exact error message? What did you do? What did yo= u=20 expect to happen and what happened? Uli **************************************************** Visit our website at **************************************************** This Email and any files transmitted with it are intended only for the pers= on or entity to which it is addressed and may contain confidential and/or p= rivileged material. Any reading, redistribution, disclosure or other use of= , or taking of any action in reliance upon, this information by persons or = entities other than the intended recipient is prohibited. If you are not t= he intended recipient please contact the sender immediately and delete the = material from your computer. E-mail may be susceptible to data corruption, interception, viruses and una= uthorised amendment and Domino UK Limited does not accept liability for any= such corruption, interception, viruses or amendment or their consequences. **************************************************** From murrayc@murrayc.com Mon Jun 19 02:37:48 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 406FE3B0DB4 for ; Mon, 19 Jun 2006 02:37:48 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28466-06 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail3.sd.dreamhost.com (webmail3.sd.dreamhost.com [64.111.100.15]) by menubar.gnome.org (Postfix) with ESMTP id 2F38B3B0D99 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by webmail3.sd.dreamhost.com (Postfix) with ESMTP id E5D91140C6; Sun, 18 Jun 2006 23:16:45 -0700 (PDT) Received: from 194.138.18.132 (proxying for unknown) (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Mon, 19 Jun 2006 08:16:45 +0200 (CEST) Message-ID: <64734.194.138.18.132.1150697805.squirrel@webmail.murrayc.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Date: Mon, 19 Jun 2006 08:16:45 +0200 (CEST) From: "Murray Cumming" To: Francisco =?iso-8859-1?Q?Jos=E9_Alves?= User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.553 tagged_above=-999 required=2 tests=[AWL=0.046, BAYES_00=-2.599] X-Spam-Score: -2.553 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:37:48 -0000 > Good morning. > > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. > But I can't find it anyhwhere. What is the exact error message that you see? Also, if you are using Linux, I strongly advise you to use the official packages from your distro. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:24:56 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4273B3B01D6 for ; Mon, 19 Jun 2006 16:24:56 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30727-04 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from swarthymail-a1.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 87A4B3B01A7 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a1.dreamhost.com (Postfix) with ESMTP id 4F26F8F9F6; Mon, 19 Jun 2006 13:23:53 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1149624489.6086.10.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:23:49 +0200 Message-Id: <1150748629.6042.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:24:56 -0000 On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > Folks, > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > been any comment. > > Sorry, I didn't consider it urgent, and thought it best to give enough > time for comments and problems to surface. > > > Does anybody need more time to review it, or can we proceed with the > > checkin step? > > I've checked it in. Thanks for the perfect patch. > > (Please put it in bugzilla next time, like you usually do.) Note that we have not released a new version of this as a tarball yet. I am worried that it might be causing this problem, when I run a Ubuntu-packaged version of glom in an environment that has a cvs-built gtkmm: murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom glom: symbol lookup error: glom: undefined symbol: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ I guess I need to do some more investigation. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:31:50 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E05323B01D6 for ; Mon, 19 Jun 2006 16:31:49 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31013-08 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from swarthymail-a4.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 13E9A3B01A7 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a4.dreamhost.com (Postfix) with ESMTP id 820D5129A90; Mon, 19 Jun 2006 13:30:23 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1150748629.6042.21.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:30:10 +0200 Message-Id: <1150749010.6042.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:31:50 -0000 On Mon, 2006-06-19 at 22:23 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > > Folks, > > > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > > been any comment. > > > > Sorry, I didn't consider it urgent, and thought it best to give enough > > time for comments and problems to surface. > > > > > Does anybody need more time to review it, or can we proceed with the > > > checkin step? > > > > I've checked it in. Thanks for the perfect patch. > > > > (Please put it in bugzilla next time, like you usually do.) > > Note that we have not released a new version of this as a tarball yet. > > I am worried that it might be causing this problem, when I run a > Ubuntu-packaged version of glom in an environment that has a cvs-built > gtkmm: > > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom > glom: symbol lookup error: glom: undefined symbol: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ > > I guess I need to do some more investigation. nm shows that this symbol is exported: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE So I guess we have to roll this change back in cvs. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From hpreg@vmware.com Mon Jun 19 16:53:36 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E06643B0C48 for ; Mon, 19 Jun 2006 16:53:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31883-10 for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id AB0893B0DEB for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 89D7591E3; Mon, 19 Jun 2006 13:52:47 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 76DE36FC3E2; Mon, 19 Jun 2006 13:52:42 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 13:52:41 -0700 Message-ID: <44970E6D.4020209@vmware.com> Date: Mon, 19 Jun 2006 13:51:57 -0700 From: =?UTF-8?B?UsOpZ2lzIER1Y2hlc25l?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> <1150749010.6042.22.camel@localhost.localdomain> In-Reply-To: <1150749010.6042.22.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2006 20:52:41.0620 (UTC) FILETIME=[4E8A0D40:01C693E2] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:53:36 -0000 Murray, >>Note that we have not released a new version of this as a tarball yet. >> >>I am worried that it might be causing this problem, when I run a >>Ubuntu-packaged version of glom in an environment that has a cvs-built >>gtkmm: >> >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom >>glom: symbol lookup error: glom: undefined symbol: >>_ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ >> >>I guess I need to do some more investigation. > > > nm shows that this symbol is exported: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE > My build of sigc++ does not seem to export export any 'nil' or 'none' symbols. This seems to imply that 'nil' is not part of the sigc++ ABI. But what you are seeing seems to imply that 'nil' is part of gtkmm's ABI. How annoying. I don't have a solution to that problem so far, I'll try to think some more about this. Thanks, -- hpreg From tshead@k-3d.com Sat Jun 3 23:11:00 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A89DB3B0474 for ; Sat, 3 Jun 2006 23:11:00 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11412-09 for ; Sat, 3 Jun 2006 23:10:57 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id 00E6D3B00F4 for ; Sat, 3 Jun 2006 23:10:56 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 56753107537E for ; Sat, 3 Jun 2006 20:53:57 -0600 (MDT) From: "Timothy M. Shead" To: "libsigc-list@gnome.org" Content-Type: text/plain Date: Sat, 03 Jun 2006 21:10:54 -0600 Message-Id: <1149390654.17329.8.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.344 tagged_above=-999 required=2 tests=[AWL=0.120, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.344 X-Spam-Level: Subject: [sigc] Accumulators X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 03:11:00 -0000 I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an accumulator for the first time, one that takes slots that return int and returns a std::vector. Unfortunately, I get a compile error - it seems that the iterators passed to the accumulator are picking-up on the accumulator result_type, instead of the slot result_type, leading to errors. Does anyone have an example of an accumulator whose result type differs from the slot result_type? Thanks in advance, Tim Shead #include #include class accumulate { public: typedef std::vector result_type; template result_type operator()(IteratorT First, IteratorT Last) { result_type result; for(; First != Last; ++First) result.push_back(*First); return result; } }; int foo() { return 1; } int bar() { return 2; } int main(int argc, char* argv[]) { sigc::signal0 signal; signal.connect(sigc::ptr_fun(foo)); signal.connect(sigc::ptr_fun(bar)); std::vector results = signal.emit(); return 0; } $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc ++-2.0/include -lstdc++ -lsigc-2.0 test.cpp: In member function `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]': /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here test.cpp:25: error: no matching function for call to `std::vector >::push_back(std::vector >)' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/stl_vector.h:596: error: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator] /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result sigc::internal::slot_iterator_buf::operator*() const [with T_emitter = sigc::internal::signal_emit0, T_result = std::vector >]': test.cpp:25: instantiated from `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]' /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for 'operator=' in 'this->sigc::internal::slot_iterator_buf, std::vector > >::r_ = this->sigc::internal::slot_iterator_buf, std::vector > >::c_->sigc::internal::signal_emit0::operator() [with T_return = int, T_accumulator = accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* [with _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const sigc::slot_base*]())))' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/vector.tcc:128: error: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator] distcc[12622] ERROR: compile test.cpp on localhost failed From martin-ml@hippogriff.de Mon Jun 5 17:06:59 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 76CBB3B03B1 for ; Mon, 5 Jun 2006 17:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32083-07 for ; Mon, 5 Jun 2006 17:06:48 -0400 (EDT) Received: from lsrv.de (smtp-gateway.de [80.190.148.105]) by menubar.gnome.org (Postfix) with ESMTP id 0523D3B086B for ; Mon, 5 Jun 2006 17:06:47 -0400 (EDT) Received: from dslb-084-061-217-179.pools.arcor-ip.net ([84.61.217.179]) by lsrv.de with esmtpa (Exim 4.54) id 1FnMHA-00029s-Hy; Mon, 05 Jun 2006 23:06:16 +0200 Subject: Re: [sigc] Accumulators From: Martin Schulze To: "Timothy M. Shead" In-Reply-To: <1149390654.17329.8.camel@joe.k-3d.com> References: <1149390654.17329.8.camel@joe.k-3d.com> Content-Type: text/plain Date: Mon, 05 Jun 2006 23:06:40 +0200 Message-Id: <1149541600.8763.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.464 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.464 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 21:06:59 -0000 You are right - this look like a bug! Most likely, in signal.h.m4, definition of struct signal_emit$1, line: typedef internal::slot_iterator_buf slot_iterator_buf_type; should read: typedef internal::slot_iterator_buf slot_iterator_buf_type; Could you file a bug report, please? Thanks! Martin Am Samstag, den 03.06.2006, 21:10 -0600 schrieb Timothy M. Shead: > I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an > accumulator for the first time, one that takes slots that return int and > returns a std::vector. Unfortunately, I get a compile error - it > seems that the iterators passed to the accumulator are picking-up on the > accumulator result_type, instead of the slot result_type, leading to > errors. Does anyone have an example of an accumulator whose result type > differs from the slot result_type? > > Thanks in advance, > Tim Shead > > #include > #include > > class accumulate > { > public: > typedef std::vector result_type; > > template > result_type operator()(IteratorT First, IteratorT Last) > { > result_type result; > > for(; First != Last; ++First) > result.push_back(*First); > > return result; > } > }; > > int foo() > { > return 1; > } > > int bar() > { > return 2; > } > > int main(int argc, char* argv[]) > { > sigc::signal0 signal; > > signal.connect(sigc::ptr_fun(foo)); > signal.connect(sigc::ptr_fun(bar)); > > std::vector results = signal.emit(); > > return 0; > } > > $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc > ++-2.0/include -lstdc++ -lsigc-2.0 > test.cpp: In member function `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]': > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > test.cpp:25: error: no matching function for call to `std::vector std::allocator >::push_back(std::vector > >)' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/stl_vector.h:596: error: candidates > are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = > int, > _Alloc = std::allocator] > /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result > sigc::internal::slot_iterator_buf::operator*() > const > [with T_emitter = sigc::internal::signal_emit0, > T_result = > std::vector >]': > test.cpp:25: instantiated from `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]' > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for > 'operator=' in > > 'this->sigc::internal::slot_iterator_buf accumulate>, std::vector > >::r_ = > > this->sigc::internal::slot_iterator_buf accumulate>, std::vector > > >::c_->sigc::internal::signal_emit0 T_accumulator>::operator() > [with T_return = int, T_accumulator = > accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* > [with > _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const > sigc::slot_base*]())))' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/vector.tcc:128: error: candidates > are: std::vector<_Tp, _Alloc>& std::vector<_Tp, > _Alloc>::operator=(const > std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = > std::allocator] > distcc[12622] ERROR: compile test.cpp on localhost failed > > _______________________________________________ > libsigc-list mailing list > libsigc-list@gnome.org > http://mail.gnome.org/mailman/listinfo/libsigc-list From tshead@k-3d.com Mon Jun 5 22:00:21 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E75E03B009D for ; Mon, 5 Jun 2006 22:00:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16063-05 for ; Mon, 5 Jun 2006 22:00:18 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id EAA333B0012 for ; Mon, 5 Jun 2006 22:00:17 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 4CB05107E33F; Mon, 5 Jun 2006 19:43:18 -0600 (MDT) Subject: Re: [sigc] Accumulators From: "Timothy M. Shead" To: Martin Schulze In-Reply-To: <1149541600.8763.36.camel@localhost.localdomain> References: <1149390654.17329.8.camel@joe.k-3d.com> <1149541600.8763.36.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 05 Jun 2006 20:00:15 -0600 Message-Id: <1149559215.29091.1.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.347 tagged_above=-999 required=2 tests=[AWL=0.117, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.347 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:00:21 -0000 On Mon, 2006-06-05 at 23:06 +0200, Martin Schulze wrote: > You are right - this look like a bug! > > Most likely, in signal.h.m4, definition of struct signal_emit$1, line: > > typedef internal::slot_iterator_buf slot_iterator_buf_type; > > should read: > > typedef internal::slot_iterator_buf > slot_iterator_buf_type; > > Could you file a bug report, please? Done! Many thanks, Tim From hpreg@vmware.com Tue Jun 6 13:19:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1543C3B0AE4 for ; Tue, 6 Jun 2006 13:19:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08456-02 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id 3A1763B0AE1 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 68C4A6E09 for ; Tue, 6 Jun 2006 10:19:07 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 0A19E6FC367 for ; Tue, 6 Jun 2006 10:19:08 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Jun 2006 10:19:08 -0700 Message-ID: <4485B89A.9070702@vmware.com> Date: Tue, 06 Jun 2006 10:17:14 -0700 From: =?ISO-8859-1?Q?R=E9gis_Duchesne?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> In-Reply-To: <4477F9F2.7070400@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Jun 2006 17:19:08.0787 (UTC) FILETIME=[52202430:01C6898D] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:19:12 -0000 Folks, I sent this patch (which allows to compile the libsigc++ headers with an Objective-C++ compiler) to the list 10 days ago, and so far there hasn't been any comment. Does anybody need more time to review it, or can we proceed with the checkin step? Thanks, -- hpreg Régis Duchesne wrote: > As promised, here is a patch. > > I produced it from the public CVS repository, which seems to be lagging > a bit. So expect trivial conflicts in ChangeLog. > > Also I don't know what is wrong on my box, but ./autogen.sh doesn't just > work. So I couldn't do any testing. Although I'm not expecting any > problem, at the very least, I wanted to do 'make && make tests'. Can > whoever applies this patch do that testing and just let me know if I > broke something? > > Thanks, > > > ------------------------------------------------------------------------ > > Index: ChangeLog > =================================================================== > RCS file: /cvs/gnome/libsigc++2/ChangeLog,v > retrieving revision 1.228 > diff -u -r1.228 ChangeLog > --- ChangeLog 21 Dec 2005 08:28:17 -0000 1.228 > +++ ChangeLog 27 May 2006 06:40:25 -0000 > @@ -1,3 +1,14 @@ > +2006-05-26 Régis Duchesne > + > + * sigc++/adaptors/macros/bind.h.m4: > + * sigc++/adaptors/macros/retype.h.m4: > + * sigc++/functors/macros/functor_trait.h.m4: > + * sigc++/functors/macros/slot.h.m4: > + * sigc++/macros/retype.h.m4: > + * sigc++/macros/signal.h.m4: > + Renamed 'nil' to 'none' to allow an Objective-C++ compiler to compile > + the library header files. > + > 2005-12-21 Murray Cumming > > * sigc++/macros/signal.h.m4: Make remaining > Index: sigc++/adaptors/macros/bind.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/bind.h.m4,v > retrieving revision 1.19 > diff -u -r1.19 bind.h.m4 > --- sigc++/adaptors/macros/bind.h.m4 10 Jun 2005 17:35:40 -0000 1.19 > +++ sigc++/adaptors/macros/bind.h.m4 27 May 2006 06:40:26 -0000 > @@ -80,7 +80,7 @@ > * @ingroup bind > */ > template > -struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(nil, CALL_SIZE - 1))> : public adapts > +struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(none, CALL_SIZE - 1))> : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -120,7 +120,7 @@ > * @ingroup bind > */ > template > -struct bind_functor : public adapts > +struct bind_functor : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -332,7 +332,7 @@ > * > * @ingroup bind > */ > -template > +template > struct bind_functor; > > FOR(0,eval(CALL_SIZE-1),[[BIND_FUNCTOR_LOCATION(%1)]])dnl > Index: sigc++/adaptors/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/retype.h.m4,v > retrieving revision 1.8 > diff -u -r1.8 retype.h.m4 > --- sigc++/adaptors/macros/retype.h.m4 1 Feb 2005 11:02:20 -0000 1.8 > +++ sigc++/adaptors/macros/retype.h.m4 27 May 2006 06:40:26 -0000 > @@ -133,7 +133,7 @@ > * > * @ingroup retype > */ > -template > +template > struct retype_functor > : public adapts > { > Index: sigc++/functors/macros/functor_trait.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/functor_trait.h.m4,v > retrieving revision 1.4 > diff -u -r1.4 functor_trait.h.m4 > --- sigc++/functors/macros/functor_trait.h.m4 12 Apr 2004 21:53:37 -0000 1.4 > +++ sigc++/functors/macros/functor_trait.h.m4 27 May 2006 06:40:26 -0000 > @@ -77,14 +77,25 @@ > > namespace sigc { > > -/** nil struct type. > - * The nil struct type is used as default template argument in the > +/** none struct type. > + * The none struct type is used as default template argument in the > * unnumbered sigc::signal and sigc::slot templates. > * > * @ingroup signal > * @ingroup slot > */ > -struct nil; > +struct none; > + > +/** nil type (deprecated). > + * The nil type is an alias for the none struct type. It is not available when > + * using an Objective-C++ compiler (because nil has a different meaning in > + * Objective-C). Otherwise its use is deprecated, but it is defined so that > + * source code written against libsigc++ versions <= 2.0.17 still compiles. > + * @deprecated Use none instead. > + */ > +#ifndef __OBJC__ > +typedef none nil; > +#endif > > > /** @defgroup functors Functors > Index: sigc++/functors/macros/slot.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/slot.h.m4,v > retrieving revision 1.17 > diff -u -r1.17 slot.h.m4 > --- sigc++/functors/macros/slot.h.m4 10 Jun 2005 17:35:40 -0000 1.17 > +++ sigc++/functors/macros/slot.h.m4 27 May 2006 06:40:26 -0000 > @@ -26,7 +26,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -107,7 +107,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -125,18 +125,18 @@ > * > * @ingroup slot > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::slot$1 template. > * See the base class for useful methods. > * This is the template specialization of the unnumbered sigc::slot > * template for $1 argument(s), specialized for different numbers of arguments > - * This is possible because the template has default (nil) template types. > + * This is possible because the template has default (none) template types. > dnl * > dnl * @ingroup slot > */ > template ]) > -class slot ifelse($1, $2,,[]) > +class slot ifelse($1, $2,,[]) > : public slot$1 > { > public: > Index: sigc++/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/retype.h.m4,v > retrieving revision 1.7 > diff -u -r1.7 retype.h.m4 > --- sigc++/macros/retype.h.m4 1 Feb 2005 11:02:21 -0000 1.7 > +++ sigc++/macros/retype.h.m4 27 May 2006 06:40:27 -0000 > @@ -77,7 +77,7 @@ > > namespace SigC { > > -template > +template > struct retype_slot_functor > : public ::sigc::adapts > { > Index: sigc++/macros/signal.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/signal.h.m4,v > retrieving revision 1.24 > diff -u -r1.24 signal.h.m4 > --- sigc++/macros/signal.h.m4 21 Dec 2005 08:28:18 -0000 1.24 > +++ sigc++/macros/signal.h.m4 27 May 2006 06:40:27 -0000 > @@ -23,7 +23,7 @@ > * This template implements the emit() function of signal$1. > * Template specializations are available to optimize signal > * emission when no accumulator is used, i.e. the template > - * argument @e T_accumulator is @p nil. > + * argument @e T_accumulator is @p none. > */ > template > struct signal_emit$1 > @@ -108,9 +108,9 @@ > * function for the case that no accumulator is used. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef T_return result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -206,9 +206,9 @@ > * return type is @p void. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef void result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -284,13 +284,13 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > * > * You should use the more convenient unnumbered sigc::signal template. > * > * @ingroup signal > */ > -template > +template > class signal$1 > : public signal_base > { > @@ -330,7 +330,7 @@ > * During signal emission all slots that have been connected > * to the signal are invoked unless they are manually set into > * a blocking state. The parameters are passed on to the slots. > - * If @e T_accumulated is not @p nil, an accumulator of this type > + * If @e T_accumulated is not @p none, an accumulator of this type > * is used to process the return values of the slot invocations. > * Otherwise, the return value of the last slot invoked is returned.dnl > FOR(1, $1,[ > @@ -403,7 +403,7 @@ > * the emit() function: > * - @e T_return The desired return type of the emit() function.dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of emit(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of emit(). The default @p none means no argument.]) > * > * To specify an accumulator type the nested class signal::accumulated can be used. > * > @@ -417,7 +417,7 @@ > * > * @ingroup signal > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::signal$1 template. > * See the base class for useful methods. > @@ -429,8 +429,8 @@ > ])dnl > */ > template ]) > -class signal ifelse($1, $2,,[]) > - : public signal$1 > +class signal ifelse($1, $2,,[]) > + : public signal$1 > { > public: > ifelse($1, $2,[dnl > @@ -498,7 +498,7 @@ > > signal() {} > signal(const signal& src) > - : signal$1(src) {} > + : signal$1(src) {} > }; > > ]) > @@ -525,12 +525,12 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > * > * @deprecated Use the unnumbered template sigc::signal instead. > * @ingroup compat > */ > -template > +template > class Signal$1 > : public ::sigc::signal$1 > { From murrayc@murrayc.com Tue Jun 6 16:08:18 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6E8503B0236 for ; Tue, 6 Jun 2006 16:08:18 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18750-08 for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from swarthymail-a2.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 7EABE3B0B3E for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from noname (p5497CD77.dip.t-dialin.net [84.151.205.119]) by swarthymail-a2.dreamhost.com (Postfix) with ESMTP id 806C4EB4D5; Tue, 6 Jun 2006 13:08:12 -0700 (PDT) Subject: Re: [sigc] Renaming nil From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <4485B89A.9070702@vmware.com> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 06 Jun 2006 22:08:09 +0200 Message-Id: <1149624489.6086.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.141 tagged_above=-999 required=2 tests=[AWL=-0.263, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=0.721] X-Spam-Score: -2.141 X-Spam-Level: Cc: libsigc-list@gnome.org X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 20:08:18 -0000 On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > Folks, > > I sent this patch (which allows to compile the libsigc++ headers with an > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > been any comment. Sorry, I didn't consider it urgent, and thought it best to give enough time for comments and problems to surface. > Does anybody need more time to review it, or can we proceed with the > checkin step? I've checked it in. Thanks for the perfect patch. (Please put it in bugzilla next time, like you usually do.) -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From laranjatomate@yahoo.com.br Wed Jun 14 16:44:01 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3FA4E3B0276 for ; Wed, 14 Jun 2006 16:44:01 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31686-05 for ; Wed, 14 Jun 2006 16:44:00 -0400 (EDT) Received: from web34307.mail.mud.yahoo.com (web34307.mail.mud.yahoo.com [66.163.178.139]) by menubar.gnome.org (Postfix) with SMTP id E612C3B0209 for ; Wed, 14 Jun 2006 16:43:59 -0400 (EDT) Received: (qmail 15176 invoked by uid 60001); 14 Jun 2006 20:43:27 -0000 Message-ID: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Received: from [143.107.239.167] by web34307.mail.mud.yahoo.com via HTTP; Wed, 14 Jun 2006 20:43:27 GMT Date: Wed, 14 Jun 2006 20:43:27 +0000 (GMT) From: =?iso-8859-1?q?Francisco=20Jos=E9=20Alves?= To: libsigc-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1872659769-1150317807=:13614" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=1.367 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, DNS_FROM_RFC_ABUSE=0.2, HTML_10_20=1.351, HTML_MESSAGE=0.001] X-Spam-Score: 1.367 X-Spam-Level: * X-Mailman-Approved-At: Sun, 18 Jun 2006 10:57:18 -0400 Subject: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 20:44:01 -0000 --0-1872659769-1150317807=:13614 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning. I was trying to compile libsig++ but it alerts there is not sigc++ installed. But I can't find it anyhwhere. Thanks for attention laranjatomate@hahoo.com.br __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning.

I was trying to compile libsig++ but it alerts there is not sigc++ installed.
But I can't find it anyhwhere.

Thanks for attention
laranjatomate@hahoo.com.br

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614-- From Eckhardt@satorlaser.com Mon Jun 19 02:30:27 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4D2C43B0D83 for ; Mon, 19 Jun 2006 02:30:27 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28331-04 for ; Mon, 19 Jun 2006 02:30:24 -0400 (EDT) Received: from vMimePS1.domino-printing.com (mail.domino-uk.com [193.131.116.193]) by menubar.gnome.org (Postfix) with ESMTP id 0C1F53B0D80 for ; Mon, 19 Jun 2006 02:30:23 -0400 (EDT) Received: from emea-exchange3.emea.dps.local (EMEA-EXCHANGE3) by vMimePS1.domino-printing.com (Clearswift SMTPRS 5.2.3) with ESMTP id for ; Mon, 19 Jun 2006 07:27:42 +0100 Received: from tuxator2.emea.dps.local ([192.168.55.75]) by emea-exchange3.emea.dps.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 08:30:34 +0200 From: Ulrich Eckhardt Organization: Sator Laser GmbH To: libsigc-list@gnome.org Date: Mon, 19 Jun 2006 08:30:34 +0200 User-Agent: KMail/1.9.1 References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606190830.34532.eckhardt@satorlaser.com> X-OriginalArrivalTime: 19 Jun 2006 06:30:34.0930 (UTC) FILETIME=[DF078920:01C69369] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.386 tagged_above=-999 required=2 tests=[AWL=-0.781, BAYES_20=-0.74, FORGED_RCVD_HELO=0.135] X-Spam-Score: -1.386 X-Spam-Level: Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:30:27 -0000 On Wednesday 14 June 2006 22:43, Francisco Jos=E9 Alves wrote: > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. But I can't find it anyhwhere. What is 'it'? What is the exact error message? What did you do? What did yo= u=20 expect to happen and what happened? Uli **************************************************** Visit our website at **************************************************** This Email and any files transmitted with it are intended only for the pers= on or entity to which it is addressed and may contain confidential and/or p= rivileged material. Any reading, redistribution, disclosure or other use of= , or taking of any action in reliance upon, this information by persons or = entities other than the intended recipient is prohibited. If you are not t= he intended recipient please contact the sender immediately and delete the = material from your computer. E-mail may be susceptible to data corruption, interception, viruses and una= uthorised amendment and Domino UK Limited does not accept liability for any= such corruption, interception, viruses or amendment or their consequences. **************************************************** From murrayc@murrayc.com Mon Jun 19 02:37:48 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 406FE3B0DB4 for ; Mon, 19 Jun 2006 02:37:48 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28466-06 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail3.sd.dreamhost.com (webmail3.sd.dreamhost.com [64.111.100.15]) by menubar.gnome.org (Postfix) with ESMTP id 2F38B3B0D99 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by webmail3.sd.dreamhost.com (Postfix) with ESMTP id E5D91140C6; Sun, 18 Jun 2006 23:16:45 -0700 (PDT) Received: from 194.138.18.132 (proxying for unknown) (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Mon, 19 Jun 2006 08:16:45 +0200 (CEST) Message-ID: <64734.194.138.18.132.1150697805.squirrel@webmail.murrayc.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Date: Mon, 19 Jun 2006 08:16:45 +0200 (CEST) From: "Murray Cumming" To: Francisco =?iso-8859-1?Q?Jos=E9_Alves?= User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.553 tagged_above=-999 required=2 tests=[AWL=0.046, BAYES_00=-2.599] X-Spam-Score: -2.553 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:37:48 -0000 > Good morning. > > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. > But I can't find it anyhwhere. What is the exact error message that you see? Also, if you are using Linux, I strongly advise you to use the official packages from your distro. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:24:56 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4273B3B01D6 for ; Mon, 19 Jun 2006 16:24:56 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30727-04 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from swarthymail-a1.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 87A4B3B01A7 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a1.dreamhost.com (Postfix) with ESMTP id 4F26F8F9F6; Mon, 19 Jun 2006 13:23:53 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1149624489.6086.10.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:23:49 +0200 Message-Id: <1150748629.6042.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:24:56 -0000 On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > Folks, > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > been any comment. > > Sorry, I didn't consider it urgent, and thought it best to give enough > time for comments and problems to surface. > > > Does anybody need more time to review it, or can we proceed with the > > checkin step? > > I've checked it in. Thanks for the perfect patch. > > (Please put it in bugzilla next time, like you usually do.) Note that we have not released a new version of this as a tarball yet. I am worried that it might be causing this problem, when I run a Ubuntu-packaged version of glom in an environment that has a cvs-built gtkmm: murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom glom: symbol lookup error: glom: undefined symbol: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ I guess I need to do some more investigation. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:31:50 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E05323B01D6 for ; Mon, 19 Jun 2006 16:31:49 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31013-08 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from swarthymail-a4.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 13E9A3B01A7 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a4.dreamhost.com (Postfix) with ESMTP id 820D5129A90; Mon, 19 Jun 2006 13:30:23 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1150748629.6042.21.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:30:10 +0200 Message-Id: <1150749010.6042.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:31:50 -0000 On Mon, 2006-06-19 at 22:23 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > > Folks, > > > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > > been any comment. > > > > Sorry, I didn't consider it urgent, and thought it best to give enough > > time for comments and problems to surface. > > > > > Does anybody need more time to review it, or can we proceed with the > > > checkin step? > > > > I've checked it in. Thanks for the perfect patch. > > > > (Please put it in bugzilla next time, like you usually do.) > > Note that we have not released a new version of this as a tarball yet. > > I am worried that it might be causing this problem, when I run a > Ubuntu-packaged version of glom in an environment that has a cvs-built > gtkmm: > > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom > glom: symbol lookup error: glom: undefined symbol: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ > > I guess I need to do some more investigation. nm shows that this symbol is exported: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE So I guess we have to roll this change back in cvs. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From hpreg@vmware.com Mon Jun 19 16:53:36 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E06643B0C48 for ; Mon, 19 Jun 2006 16:53:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31883-10 for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id AB0893B0DEB for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 89D7591E3; Mon, 19 Jun 2006 13:52:47 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 76DE36FC3E2; Mon, 19 Jun 2006 13:52:42 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 13:52:41 -0700 Message-ID: <44970E6D.4020209@vmware.com> Date: Mon, 19 Jun 2006 13:51:57 -0700 From: =?UTF-8?B?UsOpZ2lzIER1Y2hlc25l?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> <1150749010.6042.22.camel@localhost.localdomain> In-Reply-To: <1150749010.6042.22.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2006 20:52:41.0620 (UTC) FILETIME=[4E8A0D40:01C693E2] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:53:36 -0000 Murray, >>Note that we have not released a new version of this as a tarball yet. >> >>I am worried that it might be causing this problem, when I run a >>Ubuntu-packaged version of glom in an environment that has a cvs-built >>gtkmm: >> >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom >>glom: symbol lookup error: glom: undefined symbol: >>_ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ >> >>I guess I need to do some more investigation. > > > nm shows that this symbol is exported: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE > My build of sigc++ does not seem to export export any 'nil' or 'none' symbols. This seems to imply that 'nil' is not part of the sigc++ ABI. But what you are seeing seems to imply that 'nil' is part of gtkmm's ABI. How annoying. I don't have a solution to that problem so far, I'll try to think some more about this. Thanks, -- hpreg From rupert.swarbrick@lineone.net Mon Jun 26 17:15:46 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E27F93B00E3 for ; Mon, 26 Jun 2006 17:15:45 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16200-10 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from smtp2.freeserve.com (smtp2.wanadoo.co.uk [193.252.22.157]) by menubar.gnome.org (Postfix) with ESMTP id 82CC23B0157 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 7E1D51C000A4 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) Received: from rupert.swarbrick.net (user-3636.l1.c5.dsl.pol.co.uk [81.76.14.52]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 52C0A1C000A0 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) X-ME-UUID: 20060626211541339.52C0A1C000A0@mwinf3106.me.freeserve.com Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by rupert.swarbrick.net (Postfix) with ESMTP id 71B33170FD for ; Mon, 26 Jun 2006 22:15:33 +0100 (BST) Message-ID: <44A04E75.2050005@lineone.net> Date: Mon, 26 Jun 2006 22:15:33 +0100 From: Rupert Swarbrick User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: libsigc-list@gnome.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=8092182E Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="------------enig99A0AA9FE3343CFC05E2694E" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.187 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, FORGED_RCVD_HELO=0.135, TW_TK=0.077] X-Spam-Score: -2.187 X-Spam-Level: Subject: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:15:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig99A0AA9FE3343CFC05E2694E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've seen various "inaccessible base errors" in searching on Google, but I couldn't quite find this one and I don't understand quite what's going = on. I have a class, FileEntry (which consists of an entry widget and a button that spawns a file selection dialog from Gtkmm): class FileEntry : protected Gtk::HBox { public: FileEntry(bool open=3Dtrue, std::string defaultname=3D""); protected: void on_button(); ...stuff... }; (Note that it inherits from _protected_ HBox) Now, in FileEntry::FileEntry, I need to connect the button clicked event for said button to a handler. Thus I create the slot with this line: sigc::slot sl =3D sigc::mem_fun(*this, &FileEntry::on_button); Sadly, I now get these g++ error: /usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const bool sigc::is_base_and_derived::value': /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated from 'sigc::bound_mem_functor0' FileEntry.cc:11: instantiated from here /usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: 'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' Now then, I can compile happily by inheriting from public Gtk::HBox, but this really doesn't seem like it should be necessary - surely as we're in the constructor the public/private/whatever should make no difference?= I'd really like to know what the heck's going on here - does mem_fun do something very wierd? Sorry for the specifically Gtkmm question, but I presume that the actual issue at work is general enough here that it still applies? Also - this is the only list I could find for sigc++ - I hope it isn't purely a developer list! Rupert --------------enig99A0AA9FE3343CFC05E2694E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRKBOdUbXf6SW2FaGAQExwwQAmGwYJxuMDcSwIHOCFoFHoWyo5PvuwfkU /aEKkGsiUe6vd8VF4etVq6S+kdYx8hnunjm3JGJN60TgcjAPRJGLL6g6Ir38VOJg n6V3N7DL3tP1HHuB0Q2obGYeiTiPoJMcAPR/mNfaAIg86GHyIZVYXPUd0awuqTRX 0b4uMpnl3Ak= =2ZCQ -----END PGP SIGNATURE----- --------------enig99A0AA9FE3343CFC05E2694E-- From andrew@solvo.ru Tue Jun 27 02:29:37 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8D2323B0093 for ; Tue, 27 Jun 2006 02:29:37 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08957-07 for ; Tue, 27 Jun 2006 02:29:34 -0400 (EDT) Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by menubar.gnome.org (Postfix) with ESMTP id 8B10A3B007C for ; Tue, 27 Jun 2006 02:29:31 -0400 (EDT) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.13.6/8.13.6) with ESMTP id k5R6TTdc014590; Tue, 27 Jun 2006 10:29:30 +0400 Received: by tiger.solvo.ru (Postfix, from userid 504) id B50B23268C0; Tue, 27 Jun 2006 10:29:29 +0400 (MSD) Received: from [195.201.44.78] (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 7C99D3268B2; Tue, 27 Jun 2006 10:29:28 +0400 (MSD) Message-ID: <44A0CE70.9020606@solvo.ru> Date: Tue, 27 Jun 2006 10:21:36 +0400 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: Rupert Swarbrick References: <44A04E75.2050005@lineone.net> In-Reply-To: <44A04E75.2050005@lineone.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter (Reciever: gate.solvo.ru; Sender-ip: 195.201.44.86; Sender-helo: tiger.solvo.ru; ) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.529 tagged_above=-999 required=2 tests=[AWL=0.070, BAYES_00=-2.599] X-Spam-Score: -2.529 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 06:29:37 -0000 Rupert Swarbrick wrote: >I've seen various "inaccessible base errors" in searching on Google, but >I couldn't quite find this one and I don't understand quite what's going on. > >I have a class, FileEntry (which consists of an entry widget and a >button that spawns a file selection dialog from Gtkmm): > >class FileEntry : protected Gtk::HBox >{ >public: > FileEntry(bool open=true, > std::string defaultname=""); >protected: > void on_button(); > ...stuff... >}; > >(Note that it inherits from _protected_ HBox) > >Now, in FileEntry::FileEntry, I need to connect the button clicked event >for said button to a handler. Thus I create the slot with this line: > >sigc::slot sl = sigc::mem_fun(*this, &FileEntry::on_button); > >Sadly, I now get these g++ error: > >/usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const >bool sigc::is_base_and_derived::value': >/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated >from 'sigc::bound_mem_functor0' >FileEntry.cc:11: instantiated from here >/usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: >'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' > >Now then, I can compile happily by inheriting from public Gtk::HBox, but >this really doesn't seem like it should be necessary - surely as we're >in the constructor the public/private/whatever should make no difference? > >I'd really like to know what the heck's going on here - does mem_fun do >something very wierd? > > Please, consider my answer like a guess. "sigc::mem_fun" is a wrapper that construct sigc::slot object. Last one should have public access to your object sigc::trackable destructor to disconnect slot/signals when your object destroyed. Probably, you better do investigate source codes either documentation files for more information. Regards, -andrew From tshead@k-3d.com Sat Jun 3 23:11:00 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A89DB3B0474 for ; Sat, 3 Jun 2006 23:11:00 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11412-09 for ; Sat, 3 Jun 2006 23:10:57 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id 00E6D3B00F4 for ; Sat, 3 Jun 2006 23:10:56 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 56753107537E for ; Sat, 3 Jun 2006 20:53:57 -0600 (MDT) From: "Timothy M. Shead" To: "libsigc-list@gnome.org" Content-Type: text/plain Date: Sat, 03 Jun 2006 21:10:54 -0600 Message-Id: <1149390654.17329.8.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.344 tagged_above=-999 required=2 tests=[AWL=0.120, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.344 X-Spam-Level: Subject: [sigc] Accumulators X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 03:11:00 -0000 I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an accumulator for the first time, one that takes slots that return int and returns a std::vector. Unfortunately, I get a compile error - it seems that the iterators passed to the accumulator are picking-up on the accumulator result_type, instead of the slot result_type, leading to errors. Does anyone have an example of an accumulator whose result type differs from the slot result_type? Thanks in advance, Tim Shead #include #include class accumulate { public: typedef std::vector result_type; template result_type operator()(IteratorT First, IteratorT Last) { result_type result; for(; First != Last; ++First) result.push_back(*First); return result; } }; int foo() { return 1; } int bar() { return 2; } int main(int argc, char* argv[]) { sigc::signal0 signal; signal.connect(sigc::ptr_fun(foo)); signal.connect(sigc::ptr_fun(bar)); std::vector results = signal.emit(); return 0; } $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc ++-2.0/include -lstdc++ -lsigc-2.0 test.cpp: In member function `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]': /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here test.cpp:25: error: no matching function for call to `std::vector >::push_back(std::vector >)' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/stl_vector.h:596: error: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator] /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result sigc::internal::slot_iterator_buf::operator*() const [with T_emitter = sigc::internal::signal_emit0, T_result = std::vector >]': test.cpp:25: instantiated from `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]' /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for 'operator=' in 'this->sigc::internal::slot_iterator_buf, std::vector > >::r_ = this->sigc::internal::slot_iterator_buf, std::vector > >::c_->sigc::internal::signal_emit0::operator() [with T_return = int, T_accumulator = accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* [with _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const sigc::slot_base*]())))' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/vector.tcc:128: error: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator] distcc[12622] ERROR: compile test.cpp on localhost failed From martin-ml@hippogriff.de Mon Jun 5 17:06:59 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 76CBB3B03B1 for ; Mon, 5 Jun 2006 17:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32083-07 for ; Mon, 5 Jun 2006 17:06:48 -0400 (EDT) Received: from lsrv.de (smtp-gateway.de [80.190.148.105]) by menubar.gnome.org (Postfix) with ESMTP id 0523D3B086B for ; Mon, 5 Jun 2006 17:06:47 -0400 (EDT) Received: from dslb-084-061-217-179.pools.arcor-ip.net ([84.61.217.179]) by lsrv.de with esmtpa (Exim 4.54) id 1FnMHA-00029s-Hy; Mon, 05 Jun 2006 23:06:16 +0200 Subject: Re: [sigc] Accumulators From: Martin Schulze To: "Timothy M. Shead" In-Reply-To: <1149390654.17329.8.camel@joe.k-3d.com> References: <1149390654.17329.8.camel@joe.k-3d.com> Content-Type: text/plain Date: Mon, 05 Jun 2006 23:06:40 +0200 Message-Id: <1149541600.8763.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.464 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.464 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 21:06:59 -0000 You are right - this look like a bug! Most likely, in signal.h.m4, definition of struct signal_emit$1, line: typedef internal::slot_iterator_buf slot_iterator_buf_type; should read: typedef internal::slot_iterator_buf slot_iterator_buf_type; Could you file a bug report, please? Thanks! Martin Am Samstag, den 03.06.2006, 21:10 -0600 schrieb Timothy M. Shead: > I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an > accumulator for the first time, one that takes slots that return int and > returns a std::vector. Unfortunately, I get a compile error - it > seems that the iterators passed to the accumulator are picking-up on the > accumulator result_type, instead of the slot result_type, leading to > errors. Does anyone have an example of an accumulator whose result type > differs from the slot result_type? > > Thanks in advance, > Tim Shead > > #include > #include > > class accumulate > { > public: > typedef std::vector result_type; > > template > result_type operator()(IteratorT First, IteratorT Last) > { > result_type result; > > for(; First != Last; ++First) > result.push_back(*First); > > return result; > } > }; > > int foo() > { > return 1; > } > > int bar() > { > return 2; > } > > int main(int argc, char* argv[]) > { > sigc::signal0 signal; > > signal.connect(sigc::ptr_fun(foo)); > signal.connect(sigc::ptr_fun(bar)); > > std::vector results = signal.emit(); > > return 0; > } > > $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc > ++-2.0/include -lstdc++ -lsigc-2.0 > test.cpp: In member function `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]': > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > test.cpp:25: error: no matching function for call to `std::vector std::allocator >::push_back(std::vector > >)' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/stl_vector.h:596: error: candidates > are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = > int, > _Alloc = std::allocator] > /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result > sigc::internal::slot_iterator_buf::operator*() > const > [with T_emitter = sigc::internal::signal_emit0, > T_result = > std::vector >]': > test.cpp:25: instantiated from `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]' > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for > 'operator=' in > > 'this->sigc::internal::slot_iterator_buf accumulate>, std::vector > >::r_ = > > this->sigc::internal::slot_iterator_buf accumulate>, std::vector > > >::c_->sigc::internal::signal_emit0 T_accumulator>::operator() > [with T_return = int, T_accumulator = > accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* > [with > _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const > sigc::slot_base*]())))' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/vector.tcc:128: error: candidates > are: std::vector<_Tp, _Alloc>& std::vector<_Tp, > _Alloc>::operator=(const > std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = > std::allocator] > distcc[12622] ERROR: compile test.cpp on localhost failed > > _______________________________________________ > libsigc-list mailing list > libsigc-list@gnome.org > http://mail.gnome.org/mailman/listinfo/libsigc-list From tshead@k-3d.com Mon Jun 5 22:00:21 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E75E03B009D for ; Mon, 5 Jun 2006 22:00:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16063-05 for ; Mon, 5 Jun 2006 22:00:18 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id EAA333B0012 for ; Mon, 5 Jun 2006 22:00:17 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 4CB05107E33F; Mon, 5 Jun 2006 19:43:18 -0600 (MDT) Subject: Re: [sigc] Accumulators From: "Timothy M. Shead" To: Martin Schulze In-Reply-To: <1149541600.8763.36.camel@localhost.localdomain> References: <1149390654.17329.8.camel@joe.k-3d.com> <1149541600.8763.36.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 05 Jun 2006 20:00:15 -0600 Message-Id: <1149559215.29091.1.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.347 tagged_above=-999 required=2 tests=[AWL=0.117, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.347 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:00:21 -0000 On Mon, 2006-06-05 at 23:06 +0200, Martin Schulze wrote: > You are right - this look like a bug! > > Most likely, in signal.h.m4, definition of struct signal_emit$1, line: > > typedef internal::slot_iterator_buf slot_iterator_buf_type; > > should read: > > typedef internal::slot_iterator_buf > slot_iterator_buf_type; > > Could you file a bug report, please? Done! Many thanks, Tim From hpreg@vmware.com Tue Jun 6 13:19:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1543C3B0AE4 for ; Tue, 6 Jun 2006 13:19:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08456-02 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id 3A1763B0AE1 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 68C4A6E09 for ; Tue, 6 Jun 2006 10:19:07 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 0A19E6FC367 for ; Tue, 6 Jun 2006 10:19:08 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Jun 2006 10:19:08 -0700 Message-ID: <4485B89A.9070702@vmware.com> Date: Tue, 06 Jun 2006 10:17:14 -0700 From: =?ISO-8859-1?Q?R=E9gis_Duchesne?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> In-Reply-To: <4477F9F2.7070400@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Jun 2006 17:19:08.0787 (UTC) FILETIME=[52202430:01C6898D] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:19:12 -0000 Folks, I sent this patch (which allows to compile the libsigc++ headers with an Objective-C++ compiler) to the list 10 days ago, and so far there hasn't been any comment. Does anybody need more time to review it, or can we proceed with the checkin step? Thanks, -- hpreg Régis Duchesne wrote: > As promised, here is a patch. > > I produced it from the public CVS repository, which seems to be lagging > a bit. So expect trivial conflicts in ChangeLog. > > Also I don't know what is wrong on my box, but ./autogen.sh doesn't just > work. So I couldn't do any testing. Although I'm not expecting any > problem, at the very least, I wanted to do 'make && make tests'. Can > whoever applies this patch do that testing and just let me know if I > broke something? > > Thanks, > > > ------------------------------------------------------------------------ > > Index: ChangeLog > =================================================================== > RCS file: /cvs/gnome/libsigc++2/ChangeLog,v > retrieving revision 1.228 > diff -u -r1.228 ChangeLog > --- ChangeLog 21 Dec 2005 08:28:17 -0000 1.228 > +++ ChangeLog 27 May 2006 06:40:25 -0000 > @@ -1,3 +1,14 @@ > +2006-05-26 Régis Duchesne > + > + * sigc++/adaptors/macros/bind.h.m4: > + * sigc++/adaptors/macros/retype.h.m4: > + * sigc++/functors/macros/functor_trait.h.m4: > + * sigc++/functors/macros/slot.h.m4: > + * sigc++/macros/retype.h.m4: > + * sigc++/macros/signal.h.m4: > + Renamed 'nil' to 'none' to allow an Objective-C++ compiler to compile > + the library header files. > + > 2005-12-21 Murray Cumming > > * sigc++/macros/signal.h.m4: Make remaining > Index: sigc++/adaptors/macros/bind.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/bind.h.m4,v > retrieving revision 1.19 > diff -u -r1.19 bind.h.m4 > --- sigc++/adaptors/macros/bind.h.m4 10 Jun 2005 17:35:40 -0000 1.19 > +++ sigc++/adaptors/macros/bind.h.m4 27 May 2006 06:40:26 -0000 > @@ -80,7 +80,7 @@ > * @ingroup bind > */ > template > -struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(nil, CALL_SIZE - 1))> : public adapts > +struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(none, CALL_SIZE - 1))> : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -120,7 +120,7 @@ > * @ingroup bind > */ > template > -struct bind_functor : public adapts > +struct bind_functor : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -332,7 +332,7 @@ > * > * @ingroup bind > */ > -template > +template > struct bind_functor; > > FOR(0,eval(CALL_SIZE-1),[[BIND_FUNCTOR_LOCATION(%1)]])dnl > Index: sigc++/adaptors/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/retype.h.m4,v > retrieving revision 1.8 > diff -u -r1.8 retype.h.m4 > --- sigc++/adaptors/macros/retype.h.m4 1 Feb 2005 11:02:20 -0000 1.8 > +++ sigc++/adaptors/macros/retype.h.m4 27 May 2006 06:40:26 -0000 > @@ -133,7 +133,7 @@ > * > * @ingroup retype > */ > -template > +template > struct retype_functor > : public adapts > { > Index: sigc++/functors/macros/functor_trait.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/functor_trait.h.m4,v > retrieving revision 1.4 > diff -u -r1.4 functor_trait.h.m4 > --- sigc++/functors/macros/functor_trait.h.m4 12 Apr 2004 21:53:37 -0000 1.4 > +++ sigc++/functors/macros/functor_trait.h.m4 27 May 2006 06:40:26 -0000 > @@ -77,14 +77,25 @@ > > namespace sigc { > > -/** nil struct type. > - * The nil struct type is used as default template argument in the > +/** none struct type. > + * The none struct type is used as default template argument in the > * unnumbered sigc::signal and sigc::slot templates. > * > * @ingroup signal > * @ingroup slot > */ > -struct nil; > +struct none; > + > +/** nil type (deprecated). > + * The nil type is an alias for the none struct type. It is not available when > + * using an Objective-C++ compiler (because nil has a different meaning in > + * Objective-C). Otherwise its use is deprecated, but it is defined so that > + * source code written against libsigc++ versions <= 2.0.17 still compiles. > + * @deprecated Use none instead. > + */ > +#ifndef __OBJC__ > +typedef none nil; > +#endif > > > /** @defgroup functors Functors > Index: sigc++/functors/macros/slot.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/slot.h.m4,v > retrieving revision 1.17 > diff -u -r1.17 slot.h.m4 > --- sigc++/functors/macros/slot.h.m4 10 Jun 2005 17:35:40 -0000 1.17 > +++ sigc++/functors/macros/slot.h.m4 27 May 2006 06:40:26 -0000 > @@ -26,7 +26,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -107,7 +107,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -125,18 +125,18 @@ > * > * @ingroup slot > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::slot$1 template. > * See the base class for useful methods. > * This is the template specialization of the unnumbered sigc::slot > * template for $1 argument(s), specialized for different numbers of arguments > - * This is possible because the template has default (nil) template types. > + * This is possible because the template has default (none) template types. > dnl * > dnl * @ingroup slot > */ > template ]) > -class slot ifelse($1, $2,,[]) > +class slot ifelse($1, $2,,[]) > : public slot$1 > { > public: > Index: sigc++/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/retype.h.m4,v > retrieving revision 1.7 > diff -u -r1.7 retype.h.m4 > --- sigc++/macros/retype.h.m4 1 Feb 2005 11:02:21 -0000 1.7 > +++ sigc++/macros/retype.h.m4 27 May 2006 06:40:27 -0000 > @@ -77,7 +77,7 @@ > > namespace SigC { > > -template > +template > struct retype_slot_functor > : public ::sigc::adapts > { > Index: sigc++/macros/signal.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/signal.h.m4,v > retrieving revision 1.24 > diff -u -r1.24 signal.h.m4 > --- sigc++/macros/signal.h.m4 21 Dec 2005 08:28:18 -0000 1.24 > +++ sigc++/macros/signal.h.m4 27 May 2006 06:40:27 -0000 > @@ -23,7 +23,7 @@ > * This template implements the emit() function of signal$1. > * Template specializations are available to optimize signal > * emission when no accumulator is used, i.e. the template > - * argument @e T_accumulator is @p nil. > + * argument @e T_accumulator is @p none. > */ > template > struct signal_emit$1 > @@ -108,9 +108,9 @@ > * function for the case that no accumulator is used. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef T_return result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -206,9 +206,9 @@ > * return type is @p void. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef void result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -284,13 +284,13 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > * > * You should use the more convenient unnumbered sigc::signal template. > * > * @ingroup signal > */ > -template > +template > class signal$1 > : public signal_base > { > @@ -330,7 +330,7 @@ > * During signal emission all slots that have been connected > * to the signal are invoked unless they are manually set into > * a blocking state. The parameters are passed on to the slots. > - * If @e T_accumulated is not @p nil, an accumulator of this type > + * If @e T_accumulated is not @p none, an accumulator of this type > * is used to process the return values of the slot invocations. > * Otherwise, the return value of the last slot invoked is returned.dnl > FOR(1, $1,[ > @@ -403,7 +403,7 @@ > * the emit() function: > * - @e T_return The desired return type of the emit() function.dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of emit(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of emit(). The default @p none means no argument.]) > * > * To specify an accumulator type the nested class signal::accumulated can be used. > * > @@ -417,7 +417,7 @@ > * > * @ingroup signal > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::signal$1 template. > * See the base class for useful methods. > @@ -429,8 +429,8 @@ > ])dnl > */ > template ]) > -class signal ifelse($1, $2,,[]) > - : public signal$1 > +class signal ifelse($1, $2,,[]) > + : public signal$1 > { > public: > ifelse($1, $2,[dnl > @@ -498,7 +498,7 @@ > > signal() {} > signal(const signal& src) > - : signal$1(src) {} > + : signal$1(src) {} > }; > > ]) > @@ -525,12 +525,12 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > * > * @deprecated Use the unnumbered template sigc::signal instead. > * @ingroup compat > */ > -template > +template > class Signal$1 > : public ::sigc::signal$1 > { From murrayc@murrayc.com Tue Jun 6 16:08:18 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6E8503B0236 for ; Tue, 6 Jun 2006 16:08:18 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18750-08 for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from swarthymail-a2.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 7EABE3B0B3E for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from noname (p5497CD77.dip.t-dialin.net [84.151.205.119]) by swarthymail-a2.dreamhost.com (Postfix) with ESMTP id 806C4EB4D5; Tue, 6 Jun 2006 13:08:12 -0700 (PDT) Subject: Re: [sigc] Renaming nil From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <4485B89A.9070702@vmware.com> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 06 Jun 2006 22:08:09 +0200 Message-Id: <1149624489.6086.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.141 tagged_above=-999 required=2 tests=[AWL=-0.263, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=0.721] X-Spam-Score: -2.141 X-Spam-Level: Cc: libsigc-list@gnome.org X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 20:08:18 -0000 On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > Folks, > > I sent this patch (which allows to compile the libsigc++ headers with an > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > been any comment. Sorry, I didn't consider it urgent, and thought it best to give enough time for comments and problems to surface. > Does anybody need more time to review it, or can we proceed with the > checkin step? I've checked it in. Thanks for the perfect patch. (Please put it in bugzilla next time, like you usually do.) -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From laranjatomate@yahoo.com.br Wed Jun 14 16:44:01 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3FA4E3B0276 for ; Wed, 14 Jun 2006 16:44:01 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31686-05 for ; Wed, 14 Jun 2006 16:44:00 -0400 (EDT) Received: from web34307.mail.mud.yahoo.com (web34307.mail.mud.yahoo.com [66.163.178.139]) by menubar.gnome.org (Postfix) with SMTP id E612C3B0209 for ; Wed, 14 Jun 2006 16:43:59 -0400 (EDT) Received: (qmail 15176 invoked by uid 60001); 14 Jun 2006 20:43:27 -0000 Message-ID: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Received: from [143.107.239.167] by web34307.mail.mud.yahoo.com via HTTP; Wed, 14 Jun 2006 20:43:27 GMT Date: Wed, 14 Jun 2006 20:43:27 +0000 (GMT) From: =?iso-8859-1?q?Francisco=20Jos=E9=20Alves?= To: libsigc-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1872659769-1150317807=:13614" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=1.367 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, DNS_FROM_RFC_ABUSE=0.2, HTML_10_20=1.351, HTML_MESSAGE=0.001] X-Spam-Score: 1.367 X-Spam-Level: * X-Mailman-Approved-At: Sun, 18 Jun 2006 10:57:18 -0400 Subject: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 20:44:01 -0000 --0-1872659769-1150317807=:13614 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning. I was trying to compile libsig++ but it alerts there is not sigc++ installed. But I can't find it anyhwhere. Thanks for attention laranjatomate@hahoo.com.br __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning.

I was trying to compile libsig++ but it alerts there is not sigc++ installed.
But I can't find it anyhwhere.

Thanks for attention
laranjatomate@hahoo.com.br

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614-- From Eckhardt@satorlaser.com Mon Jun 19 02:30:27 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4D2C43B0D83 for ; Mon, 19 Jun 2006 02:30:27 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28331-04 for ; Mon, 19 Jun 2006 02:30:24 -0400 (EDT) Received: from vMimePS1.domino-printing.com (mail.domino-uk.com [193.131.116.193]) by menubar.gnome.org (Postfix) with ESMTP id 0C1F53B0D80 for ; Mon, 19 Jun 2006 02:30:23 -0400 (EDT) Received: from emea-exchange3.emea.dps.local (EMEA-EXCHANGE3) by vMimePS1.domino-printing.com (Clearswift SMTPRS 5.2.3) with ESMTP id for ; Mon, 19 Jun 2006 07:27:42 +0100 Received: from tuxator2.emea.dps.local ([192.168.55.75]) by emea-exchange3.emea.dps.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 08:30:34 +0200 From: Ulrich Eckhardt Organization: Sator Laser GmbH To: libsigc-list@gnome.org Date: Mon, 19 Jun 2006 08:30:34 +0200 User-Agent: KMail/1.9.1 References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606190830.34532.eckhardt@satorlaser.com> X-OriginalArrivalTime: 19 Jun 2006 06:30:34.0930 (UTC) FILETIME=[DF078920:01C69369] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.386 tagged_above=-999 required=2 tests=[AWL=-0.781, BAYES_20=-0.74, FORGED_RCVD_HELO=0.135] X-Spam-Score: -1.386 X-Spam-Level: Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:30:27 -0000 On Wednesday 14 June 2006 22:43, Francisco Jos=E9 Alves wrote: > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. But I can't find it anyhwhere. What is 'it'? What is the exact error message? What did you do? What did yo= u=20 expect to happen and what happened? Uli **************************************************** Visit our website at **************************************************** This Email and any files transmitted with it are intended only for the pers= on or entity to which it is addressed and may contain confidential and/or p= rivileged material. Any reading, redistribution, disclosure or other use of= , or taking of any action in reliance upon, this information by persons or = entities other than the intended recipient is prohibited. If you are not t= he intended recipient please contact the sender immediately and delete the = material from your computer. E-mail may be susceptible to data corruption, interception, viruses and una= uthorised amendment and Domino UK Limited does not accept liability for any= such corruption, interception, viruses or amendment or their consequences. **************************************************** From murrayc@murrayc.com Mon Jun 19 02:37:48 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 406FE3B0DB4 for ; Mon, 19 Jun 2006 02:37:48 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28466-06 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail3.sd.dreamhost.com (webmail3.sd.dreamhost.com [64.111.100.15]) by menubar.gnome.org (Postfix) with ESMTP id 2F38B3B0D99 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by webmail3.sd.dreamhost.com (Postfix) with ESMTP id E5D91140C6; Sun, 18 Jun 2006 23:16:45 -0700 (PDT) Received: from 194.138.18.132 (proxying for unknown) (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Mon, 19 Jun 2006 08:16:45 +0200 (CEST) Message-ID: <64734.194.138.18.132.1150697805.squirrel@webmail.murrayc.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Date: Mon, 19 Jun 2006 08:16:45 +0200 (CEST) From: "Murray Cumming" To: Francisco =?iso-8859-1?Q?Jos=E9_Alves?= User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.553 tagged_above=-999 required=2 tests=[AWL=0.046, BAYES_00=-2.599] X-Spam-Score: -2.553 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:37:48 -0000 > Good morning. > > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. > But I can't find it anyhwhere. What is the exact error message that you see? Also, if you are using Linux, I strongly advise you to use the official packages from your distro. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:24:56 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4273B3B01D6 for ; Mon, 19 Jun 2006 16:24:56 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30727-04 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from swarthymail-a1.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 87A4B3B01A7 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a1.dreamhost.com (Postfix) with ESMTP id 4F26F8F9F6; Mon, 19 Jun 2006 13:23:53 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1149624489.6086.10.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:23:49 +0200 Message-Id: <1150748629.6042.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:24:56 -0000 On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > Folks, > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > been any comment. > > Sorry, I didn't consider it urgent, and thought it best to give enough > time for comments and problems to surface. > > > Does anybody need more time to review it, or can we proceed with the > > checkin step? > > I've checked it in. Thanks for the perfect patch. > > (Please put it in bugzilla next time, like you usually do.) Note that we have not released a new version of this as a tarball yet. I am worried that it might be causing this problem, when I run a Ubuntu-packaged version of glom in an environment that has a cvs-built gtkmm: murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom glom: symbol lookup error: glom: undefined symbol: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ I guess I need to do some more investigation. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:31:50 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E05323B01D6 for ; Mon, 19 Jun 2006 16:31:49 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31013-08 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from swarthymail-a4.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 13E9A3B01A7 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a4.dreamhost.com (Postfix) with ESMTP id 820D5129A90; Mon, 19 Jun 2006 13:30:23 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1150748629.6042.21.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:30:10 +0200 Message-Id: <1150749010.6042.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:31:50 -0000 On Mon, 2006-06-19 at 22:23 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > > Folks, > > > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > > been any comment. > > > > Sorry, I didn't consider it urgent, and thought it best to give enough > > time for comments and problems to surface. > > > > > Does anybody need more time to review it, or can we proceed with the > > > checkin step? > > > > I've checked it in. Thanks for the perfect patch. > > > > (Please put it in bugzilla next time, like you usually do.) > > Note that we have not released a new version of this as a tarball yet. > > I am worried that it might be causing this problem, when I run a > Ubuntu-packaged version of glom in an environment that has a cvs-built > gtkmm: > > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom > glom: symbol lookup error: glom: undefined symbol: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ > > I guess I need to do some more investigation. nm shows that this symbol is exported: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE So I guess we have to roll this change back in cvs. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From hpreg@vmware.com Mon Jun 19 16:53:36 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E06643B0C48 for ; Mon, 19 Jun 2006 16:53:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31883-10 for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id AB0893B0DEB for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 89D7591E3; Mon, 19 Jun 2006 13:52:47 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 76DE36FC3E2; Mon, 19 Jun 2006 13:52:42 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 13:52:41 -0700 Message-ID: <44970E6D.4020209@vmware.com> Date: Mon, 19 Jun 2006 13:51:57 -0700 From: =?UTF-8?B?UsOpZ2lzIER1Y2hlc25l?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> <1150749010.6042.22.camel@localhost.localdomain> In-Reply-To: <1150749010.6042.22.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2006 20:52:41.0620 (UTC) FILETIME=[4E8A0D40:01C693E2] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:53:36 -0000 Murray, >>Note that we have not released a new version of this as a tarball yet. >> >>I am worried that it might be causing this problem, when I run a >>Ubuntu-packaged version of glom in an environment that has a cvs-built >>gtkmm: >> >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom >>glom: symbol lookup error: glom: undefined symbol: >>_ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ >> >>I guess I need to do some more investigation. > > > nm shows that this symbol is exported: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE > My build of sigc++ does not seem to export export any 'nil' or 'none' symbols. This seems to imply that 'nil' is not part of the sigc++ ABI. But what you are seeing seems to imply that 'nil' is part of gtkmm's ABI. How annoying. I don't have a solution to that problem so far, I'll try to think some more about this. Thanks, -- hpreg From rupert.swarbrick@lineone.net Mon Jun 26 17:15:46 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E27F93B00E3 for ; Mon, 26 Jun 2006 17:15:45 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16200-10 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from smtp2.freeserve.com (smtp2.wanadoo.co.uk [193.252.22.157]) by menubar.gnome.org (Postfix) with ESMTP id 82CC23B0157 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 7E1D51C000A4 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) Received: from rupert.swarbrick.net (user-3636.l1.c5.dsl.pol.co.uk [81.76.14.52]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 52C0A1C000A0 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) X-ME-UUID: 20060626211541339.52C0A1C000A0@mwinf3106.me.freeserve.com Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by rupert.swarbrick.net (Postfix) with ESMTP id 71B33170FD for ; Mon, 26 Jun 2006 22:15:33 +0100 (BST) Message-ID: <44A04E75.2050005@lineone.net> Date: Mon, 26 Jun 2006 22:15:33 +0100 From: Rupert Swarbrick User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: libsigc-list@gnome.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=8092182E Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="------------enig99A0AA9FE3343CFC05E2694E" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.187 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, FORGED_RCVD_HELO=0.135, TW_TK=0.077] X-Spam-Score: -2.187 X-Spam-Level: Subject: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:15:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig99A0AA9FE3343CFC05E2694E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've seen various "inaccessible base errors" in searching on Google, but I couldn't quite find this one and I don't understand quite what's going = on. I have a class, FileEntry (which consists of an entry widget and a button that spawns a file selection dialog from Gtkmm): class FileEntry : protected Gtk::HBox { public: FileEntry(bool open=3Dtrue, std::string defaultname=3D""); protected: void on_button(); ...stuff... }; (Note that it inherits from _protected_ HBox) Now, in FileEntry::FileEntry, I need to connect the button clicked event for said button to a handler. Thus I create the slot with this line: sigc::slot sl =3D sigc::mem_fun(*this, &FileEntry::on_button); Sadly, I now get these g++ error: /usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const bool sigc::is_base_and_derived::value': /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated from 'sigc::bound_mem_functor0' FileEntry.cc:11: instantiated from here /usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: 'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' Now then, I can compile happily by inheriting from public Gtk::HBox, but this really doesn't seem like it should be necessary - surely as we're in the constructor the public/private/whatever should make no difference?= I'd really like to know what the heck's going on here - does mem_fun do something very wierd? Sorry for the specifically Gtkmm question, but I presume that the actual issue at work is general enough here that it still applies? Also - this is the only list I could find for sigc++ - I hope it isn't purely a developer list! Rupert --------------enig99A0AA9FE3343CFC05E2694E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRKBOdUbXf6SW2FaGAQExwwQAmGwYJxuMDcSwIHOCFoFHoWyo5PvuwfkU /aEKkGsiUe6vd8VF4etVq6S+kdYx8hnunjm3JGJN60TgcjAPRJGLL6g6Ir38VOJg n6V3N7DL3tP1HHuB0Q2obGYeiTiPoJMcAPR/mNfaAIg86GHyIZVYXPUd0awuqTRX 0b4uMpnl3Ak= =2ZCQ -----END PGP SIGNATURE----- --------------enig99A0AA9FE3343CFC05E2694E-- From andrew@solvo.ru Tue Jun 27 02:29:37 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8D2323B0093 for ; Tue, 27 Jun 2006 02:29:37 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08957-07 for ; Tue, 27 Jun 2006 02:29:34 -0400 (EDT) Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by menubar.gnome.org (Postfix) with ESMTP id 8B10A3B007C for ; Tue, 27 Jun 2006 02:29:31 -0400 (EDT) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.13.6/8.13.6) with ESMTP id k5R6TTdc014590; Tue, 27 Jun 2006 10:29:30 +0400 Received: by tiger.solvo.ru (Postfix, from userid 504) id B50B23268C0; Tue, 27 Jun 2006 10:29:29 +0400 (MSD) Received: from [195.201.44.78] (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 7C99D3268B2; Tue, 27 Jun 2006 10:29:28 +0400 (MSD) Message-ID: <44A0CE70.9020606@solvo.ru> Date: Tue, 27 Jun 2006 10:21:36 +0400 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: Rupert Swarbrick References: <44A04E75.2050005@lineone.net> In-Reply-To: <44A04E75.2050005@lineone.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter (Reciever: gate.solvo.ru; Sender-ip: 195.201.44.86; Sender-helo: tiger.solvo.ru; ) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.529 tagged_above=-999 required=2 tests=[AWL=0.070, BAYES_00=-2.599] X-Spam-Score: -2.529 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 06:29:37 -0000 Rupert Swarbrick wrote: >I've seen various "inaccessible base errors" in searching on Google, but >I couldn't quite find this one and I don't understand quite what's going on. > >I have a class, FileEntry (which consists of an entry widget and a >button that spawns a file selection dialog from Gtkmm): > >class FileEntry : protected Gtk::HBox >{ >public: > FileEntry(bool open=true, > std::string defaultname=""); >protected: > void on_button(); > ...stuff... >}; > >(Note that it inherits from _protected_ HBox) > >Now, in FileEntry::FileEntry, I need to connect the button clicked event >for said button to a handler. Thus I create the slot with this line: > >sigc::slot sl = sigc::mem_fun(*this, &FileEntry::on_button); > >Sadly, I now get these g++ error: > >/usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const >bool sigc::is_base_and_derived::value': >/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated >from 'sigc::bound_mem_functor0' >FileEntry.cc:11: instantiated from here >/usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: >'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' > >Now then, I can compile happily by inheriting from public Gtk::HBox, but >this really doesn't seem like it should be necessary - surely as we're >in the constructor the public/private/whatever should make no difference? > >I'd really like to know what the heck's going on here - does mem_fun do >something very wierd? > > Please, consider my answer like a guess. "sigc::mem_fun" is a wrapper that construct sigc::slot object. Last one should have public access to your object sigc::trackable destructor to disconnect slot/signals when your object destroyed. Probably, you better do investigate source codes either documentation files for more information. Regards, -andrew From pogonyshev@gmx.net Fri Jun 30 13:56:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5C4CC3B0188 for ; Fri, 30 Jun 2006 13:56:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04103-05 for ; Fri, 30 Jun 2006 13:56:11 -0400 (EDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by menubar.gnome.org (Postfix) with SMTP id A21973B0120 for ; Fri, 30 Jun 2006 13:56:10 -0400 (EDT) Received: (qmail invoked by alias); 30 Jun 2006 17:56:09 -0000 Received: from unknown (EHLO [82.209.226.247]) [82.209.226.247] by mail.gmx.net (mp032) with SMTP; 30 Jun 2006 19:56:09 +0200 X-Authenticated: #16844820 From: Paul Pogonyshev To: libsigc-list@gnome.org Date: Fri, 30 Jun 2006 20:58:58 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606302058.58377.pogonyshev@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-0.957 tagged_above=-999 required=2 tests=[AWL=0.019, BAYES_05=-1.11, FORGED_RCVD_HELO=0.135, SPF_PASS=-0.001] X-Spam-Score: -0.957 X-Spam-Level: Subject: [sigc] conditions in libsigc X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 17:56:12 -0000 Hi, I would like to propose conditions in libsigc. A condition is basically a boolean vairable plus signal which is emitted each time the variable state is changed (from true to false or vice versa.) They are useful in e.g. GUI design because you can specify a boolean expression, e.g. sensitivity or visibility, only once and not track when its state changes, which can be difficult at times. In other words, the condition itself and its state tracking are no longer separated and chances of programming error are significantly smaller. I volunteer to implement this if you are interested. Paul From tshead@k-3d.com Sat Jun 3 23:11:00 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A89DB3B0474 for ; Sat, 3 Jun 2006 23:11:00 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11412-09 for ; Sat, 3 Jun 2006 23:10:57 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id 00E6D3B00F4 for ; Sat, 3 Jun 2006 23:10:56 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 56753107537E for ; Sat, 3 Jun 2006 20:53:57 -0600 (MDT) From: "Timothy M. Shead" To: "libsigc-list@gnome.org" Content-Type: text/plain Date: Sat, 03 Jun 2006 21:10:54 -0600 Message-Id: <1149390654.17329.8.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.344 tagged_above=-999 required=2 tests=[AWL=0.120, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.344 X-Spam-Level: Subject: [sigc] Accumulators X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 03:11:00 -0000 I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an accumulator for the first time, one that takes slots that return int and returns a std::vector. Unfortunately, I get a compile error - it seems that the iterators passed to the accumulator are picking-up on the accumulator result_type, instead of the slot result_type, leading to errors. Does anyone have an example of an accumulator whose result type differs from the slot result_type? Thanks in advance, Tim Shead #include #include class accumulate { public: typedef std::vector result_type; template result_type operator()(IteratorT First, IteratorT Last) { result_type result; for(; First != Last; ++First) result.push_back(*First); return result; } }; int foo() { return 1; } int bar() { return 2; } int main(int argc, char* argv[]) { sigc::signal0 signal; signal.connect(sigc::ptr_fun(foo)); signal.connect(sigc::ptr_fun(bar)); std::vector results = signal.emit(); return 0; } $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc ++-2.0/include -lstdc++ -lsigc-2.0 test.cpp: In member function `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]': /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here test.cpp:25: error: no matching function for call to `std::vector >::push_back(std::vector >)' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/stl_vector.h:596: error: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator] /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result sigc::internal::slot_iterator_buf::operator*() const [with T_emitter = sigc::internal::signal_emit0, T_result = std::vector >]': test.cpp:25: instantiated from `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]' /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for 'operator=' in 'this->sigc::internal::slot_iterator_buf, std::vector > >::r_ = this->sigc::internal::slot_iterator_buf, std::vector > >::c_->sigc::internal::signal_emit0::operator() [with T_return = int, T_accumulator = accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* [with _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const sigc::slot_base*]())))' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/vector.tcc:128: error: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator] distcc[12622] ERROR: compile test.cpp on localhost failed From martin-ml@hippogriff.de Mon Jun 5 17:06:59 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 76CBB3B03B1 for ; Mon, 5 Jun 2006 17:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32083-07 for ; Mon, 5 Jun 2006 17:06:48 -0400 (EDT) Received: from lsrv.de (smtp-gateway.de [80.190.148.105]) by menubar.gnome.org (Postfix) with ESMTP id 0523D3B086B for ; Mon, 5 Jun 2006 17:06:47 -0400 (EDT) Received: from dslb-084-061-217-179.pools.arcor-ip.net ([84.61.217.179]) by lsrv.de with esmtpa (Exim 4.54) id 1FnMHA-00029s-Hy; Mon, 05 Jun 2006 23:06:16 +0200 Subject: Re: [sigc] Accumulators From: Martin Schulze To: "Timothy M. Shead" In-Reply-To: <1149390654.17329.8.camel@joe.k-3d.com> References: <1149390654.17329.8.camel@joe.k-3d.com> Content-Type: text/plain Date: Mon, 05 Jun 2006 23:06:40 +0200 Message-Id: <1149541600.8763.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.464 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.464 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 21:06:59 -0000 You are right - this look like a bug! Most likely, in signal.h.m4, definition of struct signal_emit$1, line: typedef internal::slot_iterator_buf slot_iterator_buf_type; should read: typedef internal::slot_iterator_buf slot_iterator_buf_type; Could you file a bug report, please? Thanks! Martin Am Samstag, den 03.06.2006, 21:10 -0600 schrieb Timothy M. Shead: > I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an > accumulator for the first time, one that takes slots that return int and > returns a std::vector. Unfortunately, I get a compile error - it > seems that the iterators passed to the accumulator are picking-up on the > accumulator result_type, instead of the slot result_type, leading to > errors. Does anyone have an example of an accumulator whose result type > differs from the slot result_type? > > Thanks in advance, > Tim Shead > > #include > #include > > class accumulate > { > public: > typedef std::vector result_type; > > template > result_type operator()(IteratorT First, IteratorT Last) > { > result_type result; > > for(; First != Last; ++First) > result.push_back(*First); > > return result; > } > }; > > int foo() > { > return 1; > } > > int bar() > { > return 2; > } > > int main(int argc, char* argv[]) > { > sigc::signal0 signal; > > signal.connect(sigc::ptr_fun(foo)); > signal.connect(sigc::ptr_fun(bar)); > > std::vector results = signal.emit(); > > return 0; > } > > $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc > ++-2.0/include -lstdc++ -lsigc-2.0 > test.cpp: In member function `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]': > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > test.cpp:25: error: no matching function for call to `std::vector std::allocator >::push_back(std::vector > >)' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/stl_vector.h:596: error: candidates > are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = > int, > _Alloc = std::allocator] > /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result > sigc::internal::slot_iterator_buf::operator*() > const > [with T_emitter = sigc::internal::signal_emit0, > T_result = > std::vector >]': > test.cpp:25: instantiated from `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]' > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for > 'operator=' in > > 'this->sigc::internal::slot_iterator_buf accumulate>, std::vector > >::r_ = > > this->sigc::internal::slot_iterator_buf accumulate>, std::vector > > >::c_->sigc::internal::signal_emit0 T_accumulator>::operator() > [with T_return = int, T_accumulator = > accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* > [with > _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const > sigc::slot_base*]())))' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/vector.tcc:128: error: candidates > are: std::vector<_Tp, _Alloc>& std::vector<_Tp, > _Alloc>::operator=(const > std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = > std::allocator] > distcc[12622] ERROR: compile test.cpp on localhost failed > > _______________________________________________ > libsigc-list mailing list > libsigc-list@gnome.org > http://mail.gnome.org/mailman/listinfo/libsigc-list From tshead@k-3d.com Mon Jun 5 22:00:21 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E75E03B009D for ; Mon, 5 Jun 2006 22:00:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16063-05 for ; Mon, 5 Jun 2006 22:00:18 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id EAA333B0012 for ; Mon, 5 Jun 2006 22:00:17 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 4CB05107E33F; Mon, 5 Jun 2006 19:43:18 -0600 (MDT) Subject: Re: [sigc] Accumulators From: "Timothy M. Shead" To: Martin Schulze In-Reply-To: <1149541600.8763.36.camel@localhost.localdomain> References: <1149390654.17329.8.camel@joe.k-3d.com> <1149541600.8763.36.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 05 Jun 2006 20:00:15 -0600 Message-Id: <1149559215.29091.1.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.347 tagged_above=-999 required=2 tests=[AWL=0.117, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.347 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:00:21 -0000 On Mon, 2006-06-05 at 23:06 +0200, Martin Schulze wrote: > You are right - this look like a bug! > > Most likely, in signal.h.m4, definition of struct signal_emit$1, line: > > typedef internal::slot_iterator_buf slot_iterator_buf_type; > > should read: > > typedef internal::slot_iterator_buf > slot_iterator_buf_type; > > Could you file a bug report, please? Done! Many thanks, Tim From hpreg@vmware.com Tue Jun 6 13:19:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1543C3B0AE4 for ; Tue, 6 Jun 2006 13:19:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08456-02 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id 3A1763B0AE1 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 68C4A6E09 for ; Tue, 6 Jun 2006 10:19:07 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 0A19E6FC367 for ; Tue, 6 Jun 2006 10:19:08 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Jun 2006 10:19:08 -0700 Message-ID: <4485B89A.9070702@vmware.com> Date: Tue, 06 Jun 2006 10:17:14 -0700 From: =?ISO-8859-1?Q?R=E9gis_Duchesne?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> In-Reply-To: <4477F9F2.7070400@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Jun 2006 17:19:08.0787 (UTC) FILETIME=[52202430:01C6898D] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:19:12 -0000 Folks, I sent this patch (which allows to compile the libsigc++ headers with an Objective-C++ compiler) to the list 10 days ago, and so far there hasn't been any comment. Does anybody need more time to review it, or can we proceed with the checkin step? Thanks, -- hpreg Régis Duchesne wrote: > As promised, here is a patch. > > I produced it from the public CVS repository, which seems to be lagging > a bit. So expect trivial conflicts in ChangeLog. > > Also I don't know what is wrong on my box, but ./autogen.sh doesn't just > work. So I couldn't do any testing. Although I'm not expecting any > problem, at the very least, I wanted to do 'make && make tests'. Can > whoever applies this patch do that testing and just let me know if I > broke something? > > Thanks, > > > ------------------------------------------------------------------------ > > Index: ChangeLog > =================================================================== > RCS file: /cvs/gnome/libsigc++2/ChangeLog,v > retrieving revision 1.228 > diff -u -r1.228 ChangeLog > --- ChangeLog 21 Dec 2005 08:28:17 -0000 1.228 > +++ ChangeLog 27 May 2006 06:40:25 -0000 > @@ -1,3 +1,14 @@ > +2006-05-26 Régis Duchesne > + > + * sigc++/adaptors/macros/bind.h.m4: > + * sigc++/adaptors/macros/retype.h.m4: > + * sigc++/functors/macros/functor_trait.h.m4: > + * sigc++/functors/macros/slot.h.m4: > + * sigc++/macros/retype.h.m4: > + * sigc++/macros/signal.h.m4: > + Renamed 'nil' to 'none' to allow an Objective-C++ compiler to compile > + the library header files. > + > 2005-12-21 Murray Cumming > > * sigc++/macros/signal.h.m4: Make remaining > Index: sigc++/adaptors/macros/bind.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/bind.h.m4,v > retrieving revision 1.19 > diff -u -r1.19 bind.h.m4 > --- sigc++/adaptors/macros/bind.h.m4 10 Jun 2005 17:35:40 -0000 1.19 > +++ sigc++/adaptors/macros/bind.h.m4 27 May 2006 06:40:26 -0000 > @@ -80,7 +80,7 @@ > * @ingroup bind > */ > template > -struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(nil, CALL_SIZE - 1))> : public adapts > +struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(none, CALL_SIZE - 1))> : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -120,7 +120,7 @@ > * @ingroup bind > */ > template > -struct bind_functor : public adapts > +struct bind_functor : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -332,7 +332,7 @@ > * > * @ingroup bind > */ > -template > +template > struct bind_functor; > > FOR(0,eval(CALL_SIZE-1),[[BIND_FUNCTOR_LOCATION(%1)]])dnl > Index: sigc++/adaptors/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/retype.h.m4,v > retrieving revision 1.8 > diff -u -r1.8 retype.h.m4 > --- sigc++/adaptors/macros/retype.h.m4 1 Feb 2005 11:02:20 -0000 1.8 > +++ sigc++/adaptors/macros/retype.h.m4 27 May 2006 06:40:26 -0000 > @@ -133,7 +133,7 @@ > * > * @ingroup retype > */ > -template > +template > struct retype_functor > : public adapts > { > Index: sigc++/functors/macros/functor_trait.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/functor_trait.h.m4,v > retrieving revision 1.4 > diff -u -r1.4 functor_trait.h.m4 > --- sigc++/functors/macros/functor_trait.h.m4 12 Apr 2004 21:53:37 -0000 1.4 > +++ sigc++/functors/macros/functor_trait.h.m4 27 May 2006 06:40:26 -0000 > @@ -77,14 +77,25 @@ > > namespace sigc { > > -/** nil struct type. > - * The nil struct type is used as default template argument in the > +/** none struct type. > + * The none struct type is used as default template argument in the > * unnumbered sigc::signal and sigc::slot templates. > * > * @ingroup signal > * @ingroup slot > */ > -struct nil; > +struct none; > + > +/** nil type (deprecated). > + * The nil type is an alias for the none struct type. It is not available when > + * using an Objective-C++ compiler (because nil has a different meaning in > + * Objective-C). Otherwise its use is deprecated, but it is defined so that > + * source code written against libsigc++ versions <= 2.0.17 still compiles. > + * @deprecated Use none instead. > + */ > +#ifndef __OBJC__ > +typedef none nil; > +#endif > > > /** @defgroup functors Functors > Index: sigc++/functors/macros/slot.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/slot.h.m4,v > retrieving revision 1.17 > diff -u -r1.17 slot.h.m4 > --- sigc++/functors/macros/slot.h.m4 10 Jun 2005 17:35:40 -0000 1.17 > +++ sigc++/functors/macros/slot.h.m4 27 May 2006 06:40:26 -0000 > @@ -26,7 +26,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -107,7 +107,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -125,18 +125,18 @@ > * > * @ingroup slot > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::slot$1 template. > * See the base class for useful methods. > * This is the template specialization of the unnumbered sigc::slot > * template for $1 argument(s), specialized for different numbers of arguments > - * This is possible because the template has default (nil) template types. > + * This is possible because the template has default (none) template types. > dnl * > dnl * @ingroup slot > */ > template ]) > -class slot ifelse($1, $2,,[]) > +class slot ifelse($1, $2,,[]) > : public slot$1 > { > public: > Index: sigc++/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/retype.h.m4,v > retrieving revision 1.7 > diff -u -r1.7 retype.h.m4 > --- sigc++/macros/retype.h.m4 1 Feb 2005 11:02:21 -0000 1.7 > +++ sigc++/macros/retype.h.m4 27 May 2006 06:40:27 -0000 > @@ -77,7 +77,7 @@ > > namespace SigC { > > -template > +template > struct retype_slot_functor > : public ::sigc::adapts > { > Index: sigc++/macros/signal.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/signal.h.m4,v > retrieving revision 1.24 > diff -u -r1.24 signal.h.m4 > --- sigc++/macros/signal.h.m4 21 Dec 2005 08:28:18 -0000 1.24 > +++ sigc++/macros/signal.h.m4 27 May 2006 06:40:27 -0000 > @@ -23,7 +23,7 @@ > * This template implements the emit() function of signal$1. > * Template specializations are available to optimize signal > * emission when no accumulator is used, i.e. the template > - * argument @e T_accumulator is @p nil. > + * argument @e T_accumulator is @p none. > */ > template > struct signal_emit$1 > @@ -108,9 +108,9 @@ > * function for the case that no accumulator is used. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef T_return result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -206,9 +206,9 @@ > * return type is @p void. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef void result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -284,13 +284,13 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > * > * You should use the more convenient unnumbered sigc::signal template. > * > * @ingroup signal > */ > -template > +template > class signal$1 > : public signal_base > { > @@ -330,7 +330,7 @@ > * During signal emission all slots that have been connected > * to the signal are invoked unless they are manually set into > * a blocking state. The parameters are passed on to the slots. > - * If @e T_accumulated is not @p nil, an accumulator of this type > + * If @e T_accumulated is not @p none, an accumulator of this type > * is used to process the return values of the slot invocations. > * Otherwise, the return value of the last slot invoked is returned.dnl > FOR(1, $1,[ > @@ -403,7 +403,7 @@ > * the emit() function: > * - @e T_return The desired return type of the emit() function.dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of emit(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of emit(). The default @p none means no argument.]) > * > * To specify an accumulator type the nested class signal::accumulated can be used. > * > @@ -417,7 +417,7 @@ > * > * @ingroup signal > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::signal$1 template. > * See the base class for useful methods. > @@ -429,8 +429,8 @@ > ])dnl > */ > template ]) > -class signal ifelse($1, $2,,[]) > - : public signal$1 > +class signal ifelse($1, $2,,[]) > + : public signal$1 > { > public: > ifelse($1, $2,[dnl > @@ -498,7 +498,7 @@ > > signal() {} > signal(const signal& src) > - : signal$1(src) {} > + : signal$1(src) {} > }; > > ]) > @@ -525,12 +525,12 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > * > * @deprecated Use the unnumbered template sigc::signal instead. > * @ingroup compat > */ > -template > +template > class Signal$1 > : public ::sigc::signal$1 > { From murrayc@murrayc.com Tue Jun 6 16:08:18 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6E8503B0236 for ; Tue, 6 Jun 2006 16:08:18 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18750-08 for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from swarthymail-a2.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 7EABE3B0B3E for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from noname (p5497CD77.dip.t-dialin.net [84.151.205.119]) by swarthymail-a2.dreamhost.com (Postfix) with ESMTP id 806C4EB4D5; Tue, 6 Jun 2006 13:08:12 -0700 (PDT) Subject: Re: [sigc] Renaming nil From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <4485B89A.9070702@vmware.com> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 06 Jun 2006 22:08:09 +0200 Message-Id: <1149624489.6086.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.141 tagged_above=-999 required=2 tests=[AWL=-0.263, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=0.721] X-Spam-Score: -2.141 X-Spam-Level: Cc: libsigc-list@gnome.org X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 20:08:18 -0000 On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > Folks, > > I sent this patch (which allows to compile the libsigc++ headers with an > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > been any comment. Sorry, I didn't consider it urgent, and thought it best to give enough time for comments and problems to surface. > Does anybody need more time to review it, or can we proceed with the > checkin step? I've checked it in. Thanks for the perfect patch. (Please put it in bugzilla next time, like you usually do.) -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From laranjatomate@yahoo.com.br Wed Jun 14 16:44:01 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3FA4E3B0276 for ; Wed, 14 Jun 2006 16:44:01 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31686-05 for ; Wed, 14 Jun 2006 16:44:00 -0400 (EDT) Received: from web34307.mail.mud.yahoo.com (web34307.mail.mud.yahoo.com [66.163.178.139]) by menubar.gnome.org (Postfix) with SMTP id E612C3B0209 for ; Wed, 14 Jun 2006 16:43:59 -0400 (EDT) Received: (qmail 15176 invoked by uid 60001); 14 Jun 2006 20:43:27 -0000 Message-ID: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Received: from [143.107.239.167] by web34307.mail.mud.yahoo.com via HTTP; Wed, 14 Jun 2006 20:43:27 GMT Date: Wed, 14 Jun 2006 20:43:27 +0000 (GMT) From: =?iso-8859-1?q?Francisco=20Jos=E9=20Alves?= To: libsigc-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1872659769-1150317807=:13614" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=1.367 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, DNS_FROM_RFC_ABUSE=0.2, HTML_10_20=1.351, HTML_MESSAGE=0.001] X-Spam-Score: 1.367 X-Spam-Level: * X-Mailman-Approved-At: Sun, 18 Jun 2006 10:57:18 -0400 Subject: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 20:44:01 -0000 --0-1872659769-1150317807=:13614 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning. I was trying to compile libsig++ but it alerts there is not sigc++ installed. But I can't find it anyhwhere. Thanks for attention laranjatomate@hahoo.com.br __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning.

I was trying to compile libsig++ but it alerts there is not sigc++ installed.
But I can't find it anyhwhere.

Thanks for attention
laranjatomate@hahoo.com.br

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614-- From Eckhardt@satorlaser.com Mon Jun 19 02:30:27 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4D2C43B0D83 for ; Mon, 19 Jun 2006 02:30:27 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28331-04 for ; Mon, 19 Jun 2006 02:30:24 -0400 (EDT) Received: from vMimePS1.domino-printing.com (mail.domino-uk.com [193.131.116.193]) by menubar.gnome.org (Postfix) with ESMTP id 0C1F53B0D80 for ; Mon, 19 Jun 2006 02:30:23 -0400 (EDT) Received: from emea-exchange3.emea.dps.local (EMEA-EXCHANGE3) by vMimePS1.domino-printing.com (Clearswift SMTPRS 5.2.3) with ESMTP id for ; Mon, 19 Jun 2006 07:27:42 +0100 Received: from tuxator2.emea.dps.local ([192.168.55.75]) by emea-exchange3.emea.dps.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 08:30:34 +0200 From: Ulrich Eckhardt Organization: Sator Laser GmbH To: libsigc-list@gnome.org Date: Mon, 19 Jun 2006 08:30:34 +0200 User-Agent: KMail/1.9.1 References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606190830.34532.eckhardt@satorlaser.com> X-OriginalArrivalTime: 19 Jun 2006 06:30:34.0930 (UTC) FILETIME=[DF078920:01C69369] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.386 tagged_above=-999 required=2 tests=[AWL=-0.781, BAYES_20=-0.74, FORGED_RCVD_HELO=0.135] X-Spam-Score: -1.386 X-Spam-Level: Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:30:27 -0000 On Wednesday 14 June 2006 22:43, Francisco Jos=E9 Alves wrote: > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. But I can't find it anyhwhere. What is 'it'? What is the exact error message? What did you do? What did yo= u=20 expect to happen and what happened? Uli **************************************************** Visit our website at **************************************************** This Email and any files transmitted with it are intended only for the pers= on or entity to which it is addressed and may contain confidential and/or p= rivileged material. Any reading, redistribution, disclosure or other use of= , or taking of any action in reliance upon, this information by persons or = entities other than the intended recipient is prohibited. If you are not t= he intended recipient please contact the sender immediately and delete the = material from your computer. E-mail may be susceptible to data corruption, interception, viruses and una= uthorised amendment and Domino UK Limited does not accept liability for any= such corruption, interception, viruses or amendment or their consequences. **************************************************** From murrayc@murrayc.com Mon Jun 19 02:37:48 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 406FE3B0DB4 for ; Mon, 19 Jun 2006 02:37:48 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28466-06 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail3.sd.dreamhost.com (webmail3.sd.dreamhost.com [64.111.100.15]) by menubar.gnome.org (Postfix) with ESMTP id 2F38B3B0D99 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by webmail3.sd.dreamhost.com (Postfix) with ESMTP id E5D91140C6; Sun, 18 Jun 2006 23:16:45 -0700 (PDT) Received: from 194.138.18.132 (proxying for unknown) (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Mon, 19 Jun 2006 08:16:45 +0200 (CEST) Message-ID: <64734.194.138.18.132.1150697805.squirrel@webmail.murrayc.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Date: Mon, 19 Jun 2006 08:16:45 +0200 (CEST) From: "Murray Cumming" To: Francisco =?iso-8859-1?Q?Jos=E9_Alves?= User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.553 tagged_above=-999 required=2 tests=[AWL=0.046, BAYES_00=-2.599] X-Spam-Score: -2.553 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:37:48 -0000 > Good morning. > > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. > But I can't find it anyhwhere. What is the exact error message that you see? Also, if you are using Linux, I strongly advise you to use the official packages from your distro. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:24:56 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4273B3B01D6 for ; Mon, 19 Jun 2006 16:24:56 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30727-04 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from swarthymail-a1.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 87A4B3B01A7 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a1.dreamhost.com (Postfix) with ESMTP id 4F26F8F9F6; Mon, 19 Jun 2006 13:23:53 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1149624489.6086.10.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:23:49 +0200 Message-Id: <1150748629.6042.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:24:56 -0000 On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > Folks, > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > been any comment. > > Sorry, I didn't consider it urgent, and thought it best to give enough > time for comments and problems to surface. > > > Does anybody need more time to review it, or can we proceed with the > > checkin step? > > I've checked it in. Thanks for the perfect patch. > > (Please put it in bugzilla next time, like you usually do.) Note that we have not released a new version of this as a tarball yet. I am worried that it might be causing this problem, when I run a Ubuntu-packaged version of glom in an environment that has a cvs-built gtkmm: murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom glom: symbol lookup error: glom: undefined symbol: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ I guess I need to do some more investigation. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:31:50 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E05323B01D6 for ; Mon, 19 Jun 2006 16:31:49 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31013-08 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from swarthymail-a4.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 13E9A3B01A7 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a4.dreamhost.com (Postfix) with ESMTP id 820D5129A90; Mon, 19 Jun 2006 13:30:23 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1150748629.6042.21.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:30:10 +0200 Message-Id: <1150749010.6042.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:31:50 -0000 On Mon, 2006-06-19 at 22:23 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > > Folks, > > > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > > been any comment. > > > > Sorry, I didn't consider it urgent, and thought it best to give enough > > time for comments and problems to surface. > > > > > Does anybody need more time to review it, or can we proceed with the > > > checkin step? > > > > I've checked it in. Thanks for the perfect patch. > > > > (Please put it in bugzilla next time, like you usually do.) > > Note that we have not released a new version of this as a tarball yet. > > I am worried that it might be causing this problem, when I run a > Ubuntu-packaged version of glom in an environment that has a cvs-built > gtkmm: > > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom > glom: symbol lookup error: glom: undefined symbol: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ > > I guess I need to do some more investigation. nm shows that this symbol is exported: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE So I guess we have to roll this change back in cvs. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From hpreg@vmware.com Mon Jun 19 16:53:36 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E06643B0C48 for ; Mon, 19 Jun 2006 16:53:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31883-10 for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id AB0893B0DEB for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 89D7591E3; Mon, 19 Jun 2006 13:52:47 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 76DE36FC3E2; Mon, 19 Jun 2006 13:52:42 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 13:52:41 -0700 Message-ID: <44970E6D.4020209@vmware.com> Date: Mon, 19 Jun 2006 13:51:57 -0700 From: =?UTF-8?B?UsOpZ2lzIER1Y2hlc25l?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> <1150749010.6042.22.camel@localhost.localdomain> In-Reply-To: <1150749010.6042.22.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2006 20:52:41.0620 (UTC) FILETIME=[4E8A0D40:01C693E2] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:53:36 -0000 Murray, >>Note that we have not released a new version of this as a tarball yet. >> >>I am worried that it might be causing this problem, when I run a >>Ubuntu-packaged version of glom in an environment that has a cvs-built >>gtkmm: >> >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom >>glom: symbol lookup error: glom: undefined symbol: >>_ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ >> >>I guess I need to do some more investigation. > > > nm shows that this symbol is exported: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE > My build of sigc++ does not seem to export export any 'nil' or 'none' symbols. This seems to imply that 'nil' is not part of the sigc++ ABI. But what you are seeing seems to imply that 'nil' is part of gtkmm's ABI. How annoying. I don't have a solution to that problem so far, I'll try to think some more about this. Thanks, -- hpreg From rupert.swarbrick@lineone.net Mon Jun 26 17:15:46 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E27F93B00E3 for ; Mon, 26 Jun 2006 17:15:45 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16200-10 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from smtp2.freeserve.com (smtp2.wanadoo.co.uk [193.252.22.157]) by menubar.gnome.org (Postfix) with ESMTP id 82CC23B0157 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 7E1D51C000A4 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) Received: from rupert.swarbrick.net (user-3636.l1.c5.dsl.pol.co.uk [81.76.14.52]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 52C0A1C000A0 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) X-ME-UUID: 20060626211541339.52C0A1C000A0@mwinf3106.me.freeserve.com Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by rupert.swarbrick.net (Postfix) with ESMTP id 71B33170FD for ; Mon, 26 Jun 2006 22:15:33 +0100 (BST) Message-ID: <44A04E75.2050005@lineone.net> Date: Mon, 26 Jun 2006 22:15:33 +0100 From: Rupert Swarbrick User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: libsigc-list@gnome.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=8092182E Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="------------enig99A0AA9FE3343CFC05E2694E" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.187 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, FORGED_RCVD_HELO=0.135, TW_TK=0.077] X-Spam-Score: -2.187 X-Spam-Level: Subject: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:15:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig99A0AA9FE3343CFC05E2694E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've seen various "inaccessible base errors" in searching on Google, but I couldn't quite find this one and I don't understand quite what's going = on. I have a class, FileEntry (which consists of an entry widget and a button that spawns a file selection dialog from Gtkmm): class FileEntry : protected Gtk::HBox { public: FileEntry(bool open=3Dtrue, std::string defaultname=3D""); protected: void on_button(); ...stuff... }; (Note that it inherits from _protected_ HBox) Now, in FileEntry::FileEntry, I need to connect the button clicked event for said button to a handler. Thus I create the slot with this line: sigc::slot sl =3D sigc::mem_fun(*this, &FileEntry::on_button); Sadly, I now get these g++ error: /usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const bool sigc::is_base_and_derived::value': /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated from 'sigc::bound_mem_functor0' FileEntry.cc:11: instantiated from here /usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: 'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' Now then, I can compile happily by inheriting from public Gtk::HBox, but this really doesn't seem like it should be necessary - surely as we're in the constructor the public/private/whatever should make no difference?= I'd really like to know what the heck's going on here - does mem_fun do something very wierd? Sorry for the specifically Gtkmm question, but I presume that the actual issue at work is general enough here that it still applies? Also - this is the only list I could find for sigc++ - I hope it isn't purely a developer list! Rupert --------------enig99A0AA9FE3343CFC05E2694E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRKBOdUbXf6SW2FaGAQExwwQAmGwYJxuMDcSwIHOCFoFHoWyo5PvuwfkU /aEKkGsiUe6vd8VF4etVq6S+kdYx8hnunjm3JGJN60TgcjAPRJGLL6g6Ir38VOJg n6V3N7DL3tP1HHuB0Q2obGYeiTiPoJMcAPR/mNfaAIg86GHyIZVYXPUd0awuqTRX 0b4uMpnl3Ak= =2ZCQ -----END PGP SIGNATURE----- --------------enig99A0AA9FE3343CFC05E2694E-- From andrew@solvo.ru Tue Jun 27 02:29:37 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8D2323B0093 for ; Tue, 27 Jun 2006 02:29:37 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08957-07 for ; Tue, 27 Jun 2006 02:29:34 -0400 (EDT) Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by menubar.gnome.org (Postfix) with ESMTP id 8B10A3B007C for ; Tue, 27 Jun 2006 02:29:31 -0400 (EDT) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.13.6/8.13.6) with ESMTP id k5R6TTdc014590; Tue, 27 Jun 2006 10:29:30 +0400 Received: by tiger.solvo.ru (Postfix, from userid 504) id B50B23268C0; Tue, 27 Jun 2006 10:29:29 +0400 (MSD) Received: from [195.201.44.78] (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 7C99D3268B2; Tue, 27 Jun 2006 10:29:28 +0400 (MSD) Message-ID: <44A0CE70.9020606@solvo.ru> Date: Tue, 27 Jun 2006 10:21:36 +0400 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: Rupert Swarbrick References: <44A04E75.2050005@lineone.net> In-Reply-To: <44A04E75.2050005@lineone.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter (Reciever: gate.solvo.ru; Sender-ip: 195.201.44.86; Sender-helo: tiger.solvo.ru; ) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.529 tagged_above=-999 required=2 tests=[AWL=0.070, BAYES_00=-2.599] X-Spam-Score: -2.529 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 06:29:37 -0000 Rupert Swarbrick wrote: >I've seen various "inaccessible base errors" in searching on Google, but >I couldn't quite find this one and I don't understand quite what's going on. > >I have a class, FileEntry (which consists of an entry widget and a >button that spawns a file selection dialog from Gtkmm): > >class FileEntry : protected Gtk::HBox >{ >public: > FileEntry(bool open=true, > std::string defaultname=""); >protected: > void on_button(); > ...stuff... >}; > >(Note that it inherits from _protected_ HBox) > >Now, in FileEntry::FileEntry, I need to connect the button clicked event >for said button to a handler. Thus I create the slot with this line: > >sigc::slot sl = sigc::mem_fun(*this, &FileEntry::on_button); > >Sadly, I now get these g++ error: > >/usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const >bool sigc::is_base_and_derived::value': >/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated >from 'sigc::bound_mem_functor0' >FileEntry.cc:11: instantiated from here >/usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: >'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' > >Now then, I can compile happily by inheriting from public Gtk::HBox, but >this really doesn't seem like it should be necessary - surely as we're >in the constructor the public/private/whatever should make no difference? > >I'd really like to know what the heck's going on here - does mem_fun do >something very wierd? > > Please, consider my answer like a guess. "sigc::mem_fun" is a wrapper that construct sigc::slot object. Last one should have public access to your object sigc::trackable destructor to disconnect slot/signals when your object destroyed. Probably, you better do investigate source codes either documentation files for more information. Regards, -andrew From pogonyshev@gmx.net Fri Jun 30 13:56:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5C4CC3B0188 for ; Fri, 30 Jun 2006 13:56:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04103-05 for ; Fri, 30 Jun 2006 13:56:11 -0400 (EDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by menubar.gnome.org (Postfix) with SMTP id A21973B0120 for ; Fri, 30 Jun 2006 13:56:10 -0400 (EDT) Received: (qmail invoked by alias); 30 Jun 2006 17:56:09 -0000 Received: from unknown (EHLO [82.209.226.247]) [82.209.226.247] by mail.gmx.net (mp032) with SMTP; 30 Jun 2006 19:56:09 +0200 X-Authenticated: #16844820 From: Paul Pogonyshev To: libsigc-list@gnome.org Date: Fri, 30 Jun 2006 20:58:58 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606302058.58377.pogonyshev@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-0.957 tagged_above=-999 required=2 tests=[AWL=0.019, BAYES_05=-1.11, FORGED_RCVD_HELO=0.135, SPF_PASS=-0.001] X-Spam-Score: -0.957 X-Spam-Level: Subject: [sigc] conditions in libsigc X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 17:56:12 -0000 Hi, I would like to propose conditions in libsigc. A condition is basically a boolean vairable plus signal which is emitted each time the variable state is changed (from true to false or vice versa.) They are useful in e.g. GUI design because you can specify a boolean expression, e.g. sensitivity or visibility, only once and not track when its state changes, which can be difficult at times. In other words, the condition itself and its state tracking are no longer separated and chances of programming error are significantly smaller. I volunteer to implement this if you are interested. Paul From tshead@k-3d.com Sat Jun 3 23:11:00 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A89DB3B0474 for ; Sat, 3 Jun 2006 23:11:00 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11412-09 for ; Sat, 3 Jun 2006 23:10:57 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id 00E6D3B00F4 for ; Sat, 3 Jun 2006 23:10:56 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 56753107537E for ; Sat, 3 Jun 2006 20:53:57 -0600 (MDT) From: "Timothy M. Shead" To: "libsigc-list@gnome.org" Content-Type: text/plain Date: Sat, 03 Jun 2006 21:10:54 -0600 Message-Id: <1149390654.17329.8.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.344 tagged_above=-999 required=2 tests=[AWL=0.120, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.344 X-Spam-Level: Subject: [sigc] Accumulators X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 03:11:00 -0000 I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an accumulator for the first time, one that takes slots that return int and returns a std::vector. Unfortunately, I get a compile error - it seems that the iterators passed to the accumulator are picking-up on the accumulator result_type, instead of the slot result_type, leading to errors. Does anyone have an example of an accumulator whose result type differs from the slot result_type? Thanks in advance, Tim Shead #include #include class accumulate { public: typedef std::vector result_type; template result_type operator()(IteratorT First, IteratorT Last) { result_type result; for(; First != Last; ++First) result.push_back(*First); return result; } }; int foo() { return 1; } int bar() { return 2; } int main(int argc, char* argv[]) { sigc::signal0 signal; signal.connect(sigc::ptr_fun(foo)); signal.connect(sigc::ptr_fun(bar)); std::vector results = signal.emit(); return 0; } $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc ++-2.0/include -lstdc++ -lsigc-2.0 test.cpp: In member function `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]': /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here test.cpp:25: error: no matching function for call to `std::vector >::push_back(std::vector >)' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/stl_vector.h:596: error: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator] /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result sigc::internal::slot_iterator_buf::operator*() const [with T_emitter = sigc::internal::signal_emit0, T_result = std::vector >]': test.cpp:25: instantiated from `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]' /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for 'operator=' in 'this->sigc::internal::slot_iterator_buf, std::vector > >::r_ = this->sigc::internal::slot_iterator_buf, std::vector > >::c_->sigc::internal::signal_emit0::operator() [with T_return = int, T_accumulator = accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* [with _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const sigc::slot_base*]())))' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/vector.tcc:128: error: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator] distcc[12622] ERROR: compile test.cpp on localhost failed From martin-ml@hippogriff.de Mon Jun 5 17:06:59 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 76CBB3B03B1 for ; Mon, 5 Jun 2006 17:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32083-07 for ; Mon, 5 Jun 2006 17:06:48 -0400 (EDT) Received: from lsrv.de (smtp-gateway.de [80.190.148.105]) by menubar.gnome.org (Postfix) with ESMTP id 0523D3B086B for ; Mon, 5 Jun 2006 17:06:47 -0400 (EDT) Received: from dslb-084-061-217-179.pools.arcor-ip.net ([84.61.217.179]) by lsrv.de with esmtpa (Exim 4.54) id 1FnMHA-00029s-Hy; Mon, 05 Jun 2006 23:06:16 +0200 Subject: Re: [sigc] Accumulators From: Martin Schulze To: "Timothy M. Shead" In-Reply-To: <1149390654.17329.8.camel@joe.k-3d.com> References: <1149390654.17329.8.camel@joe.k-3d.com> Content-Type: text/plain Date: Mon, 05 Jun 2006 23:06:40 +0200 Message-Id: <1149541600.8763.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.464 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.464 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 21:06:59 -0000 You are right - this look like a bug! Most likely, in signal.h.m4, definition of struct signal_emit$1, line: typedef internal::slot_iterator_buf slot_iterator_buf_type; should read: typedef internal::slot_iterator_buf slot_iterator_buf_type; Could you file a bug report, please? Thanks! Martin Am Samstag, den 03.06.2006, 21:10 -0600 schrieb Timothy M. Shead: > I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an > accumulator for the first time, one that takes slots that return int and > returns a std::vector. Unfortunately, I get a compile error - it > seems that the iterators passed to the accumulator are picking-up on the > accumulator result_type, instead of the slot result_type, leading to > errors. Does anyone have an example of an accumulator whose result type > differs from the slot result_type? > > Thanks in advance, > Tim Shead > > #include > #include > > class accumulate > { > public: > typedef std::vector result_type; > > template > result_type operator()(IteratorT First, IteratorT Last) > { > result_type result; > > for(; First != Last; ++First) > result.push_back(*First); > > return result; > } > }; > > int foo() > { > return 1; > } > > int bar() > { > return 2; > } > > int main(int argc, char* argv[]) > { > sigc::signal0 signal; > > signal.connect(sigc::ptr_fun(foo)); > signal.connect(sigc::ptr_fun(bar)); > > std::vector results = signal.emit(); > > return 0; > } > > $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc > ++-2.0/include -lstdc++ -lsigc-2.0 > test.cpp: In member function `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]': > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > test.cpp:25: error: no matching function for call to `std::vector std::allocator >::push_back(std::vector > >)' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/stl_vector.h:596: error: candidates > are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = > int, > _Alloc = std::allocator] > /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result > sigc::internal::slot_iterator_buf::operator*() > const > [with T_emitter = sigc::internal::signal_emit0, > T_result = > std::vector >]': > test.cpp:25: instantiated from `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]' > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for > 'operator=' in > > 'this->sigc::internal::slot_iterator_buf accumulate>, std::vector > >::r_ = > > this->sigc::internal::slot_iterator_buf accumulate>, std::vector > > >::c_->sigc::internal::signal_emit0 T_accumulator>::operator() > [with T_return = int, T_accumulator = > accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* > [with > _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const > sigc::slot_base*]())))' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/vector.tcc:128: error: candidates > are: std::vector<_Tp, _Alloc>& std::vector<_Tp, > _Alloc>::operator=(const > std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = > std::allocator] > distcc[12622] ERROR: compile test.cpp on localhost failed > > _______________________________________________ > libsigc-list mailing list > libsigc-list@gnome.org > http://mail.gnome.org/mailman/listinfo/libsigc-list From tshead@k-3d.com Mon Jun 5 22:00:21 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E75E03B009D for ; Mon, 5 Jun 2006 22:00:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16063-05 for ; Mon, 5 Jun 2006 22:00:18 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id EAA333B0012 for ; Mon, 5 Jun 2006 22:00:17 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 4CB05107E33F; Mon, 5 Jun 2006 19:43:18 -0600 (MDT) Subject: Re: [sigc] Accumulators From: "Timothy M. Shead" To: Martin Schulze In-Reply-To: <1149541600.8763.36.camel@localhost.localdomain> References: <1149390654.17329.8.camel@joe.k-3d.com> <1149541600.8763.36.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 05 Jun 2006 20:00:15 -0600 Message-Id: <1149559215.29091.1.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.347 tagged_above=-999 required=2 tests=[AWL=0.117, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.347 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:00:21 -0000 On Mon, 2006-06-05 at 23:06 +0200, Martin Schulze wrote: > You are right - this look like a bug! > > Most likely, in signal.h.m4, definition of struct signal_emit$1, line: > > typedef internal::slot_iterator_buf slot_iterator_buf_type; > > should read: > > typedef internal::slot_iterator_buf > slot_iterator_buf_type; > > Could you file a bug report, please? Done! Many thanks, Tim From hpreg@vmware.com Tue Jun 6 13:19:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1543C3B0AE4 for ; Tue, 6 Jun 2006 13:19:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08456-02 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id 3A1763B0AE1 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 68C4A6E09 for ; Tue, 6 Jun 2006 10:19:07 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 0A19E6FC367 for ; Tue, 6 Jun 2006 10:19:08 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Jun 2006 10:19:08 -0700 Message-ID: <4485B89A.9070702@vmware.com> Date: Tue, 06 Jun 2006 10:17:14 -0700 From: =?ISO-8859-1?Q?R=E9gis_Duchesne?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> In-Reply-To: <4477F9F2.7070400@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Jun 2006 17:19:08.0787 (UTC) FILETIME=[52202430:01C6898D] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:19:12 -0000 Folks, I sent this patch (which allows to compile the libsigc++ headers with an Objective-C++ compiler) to the list 10 days ago, and so far there hasn't been any comment. Does anybody need more time to review it, or can we proceed with the checkin step? Thanks, -- hpreg Régis Duchesne wrote: > As promised, here is a patch. > > I produced it from the public CVS repository, which seems to be lagging > a bit. So expect trivial conflicts in ChangeLog. > > Also I don't know what is wrong on my box, but ./autogen.sh doesn't just > work. So I couldn't do any testing. Although I'm not expecting any > problem, at the very least, I wanted to do 'make && make tests'. Can > whoever applies this patch do that testing and just let me know if I > broke something? > > Thanks, > > > ------------------------------------------------------------------------ > > Index: ChangeLog > =================================================================== > RCS file: /cvs/gnome/libsigc++2/ChangeLog,v > retrieving revision 1.228 > diff -u -r1.228 ChangeLog > --- ChangeLog 21 Dec 2005 08:28:17 -0000 1.228 > +++ ChangeLog 27 May 2006 06:40:25 -0000 > @@ -1,3 +1,14 @@ > +2006-05-26 Régis Duchesne > + > + * sigc++/adaptors/macros/bind.h.m4: > + * sigc++/adaptors/macros/retype.h.m4: > + * sigc++/functors/macros/functor_trait.h.m4: > + * sigc++/functors/macros/slot.h.m4: > + * sigc++/macros/retype.h.m4: > + * sigc++/macros/signal.h.m4: > + Renamed 'nil' to 'none' to allow an Objective-C++ compiler to compile > + the library header files. > + > 2005-12-21 Murray Cumming > > * sigc++/macros/signal.h.m4: Make remaining > Index: sigc++/adaptors/macros/bind.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/bind.h.m4,v > retrieving revision 1.19 > diff -u -r1.19 bind.h.m4 > --- sigc++/adaptors/macros/bind.h.m4 10 Jun 2005 17:35:40 -0000 1.19 > +++ sigc++/adaptors/macros/bind.h.m4 27 May 2006 06:40:26 -0000 > @@ -80,7 +80,7 @@ > * @ingroup bind > */ > template > -struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(nil, CALL_SIZE - 1))> : public adapts > +struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(none, CALL_SIZE - 1))> : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -120,7 +120,7 @@ > * @ingroup bind > */ > template > -struct bind_functor : public adapts > +struct bind_functor : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -332,7 +332,7 @@ > * > * @ingroup bind > */ > -template > +template > struct bind_functor; > > FOR(0,eval(CALL_SIZE-1),[[BIND_FUNCTOR_LOCATION(%1)]])dnl > Index: sigc++/adaptors/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/retype.h.m4,v > retrieving revision 1.8 > diff -u -r1.8 retype.h.m4 > --- sigc++/adaptors/macros/retype.h.m4 1 Feb 2005 11:02:20 -0000 1.8 > +++ sigc++/adaptors/macros/retype.h.m4 27 May 2006 06:40:26 -0000 > @@ -133,7 +133,7 @@ > * > * @ingroup retype > */ > -template > +template > struct retype_functor > : public adapts > { > Index: sigc++/functors/macros/functor_trait.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/functor_trait.h.m4,v > retrieving revision 1.4 > diff -u -r1.4 functor_trait.h.m4 > --- sigc++/functors/macros/functor_trait.h.m4 12 Apr 2004 21:53:37 -0000 1.4 > +++ sigc++/functors/macros/functor_trait.h.m4 27 May 2006 06:40:26 -0000 > @@ -77,14 +77,25 @@ > > namespace sigc { > > -/** nil struct type. > - * The nil struct type is used as default template argument in the > +/** none struct type. > + * The none struct type is used as default template argument in the > * unnumbered sigc::signal and sigc::slot templates. > * > * @ingroup signal > * @ingroup slot > */ > -struct nil; > +struct none; > + > +/** nil type (deprecated). > + * The nil type is an alias for the none struct type. It is not available when > + * using an Objective-C++ compiler (because nil has a different meaning in > + * Objective-C). Otherwise its use is deprecated, but it is defined so that > + * source code written against libsigc++ versions <= 2.0.17 still compiles. > + * @deprecated Use none instead. > + */ > +#ifndef __OBJC__ > +typedef none nil; > +#endif > > > /** @defgroup functors Functors > Index: sigc++/functors/macros/slot.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/slot.h.m4,v > retrieving revision 1.17 > diff -u -r1.17 slot.h.m4 > --- sigc++/functors/macros/slot.h.m4 10 Jun 2005 17:35:40 -0000 1.17 > +++ sigc++/functors/macros/slot.h.m4 27 May 2006 06:40:26 -0000 > @@ -26,7 +26,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -107,7 +107,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -125,18 +125,18 @@ > * > * @ingroup slot > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::slot$1 template. > * See the base class for useful methods. > * This is the template specialization of the unnumbered sigc::slot > * template for $1 argument(s), specialized for different numbers of arguments > - * This is possible because the template has default (nil) template types. > + * This is possible because the template has default (none) template types. > dnl * > dnl * @ingroup slot > */ > template ]) > -class slot ifelse($1, $2,,[]) > +class slot ifelse($1, $2,,[]) > : public slot$1 > { > public: > Index: sigc++/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/retype.h.m4,v > retrieving revision 1.7 > diff -u -r1.7 retype.h.m4 > --- sigc++/macros/retype.h.m4 1 Feb 2005 11:02:21 -0000 1.7 > +++ sigc++/macros/retype.h.m4 27 May 2006 06:40:27 -0000 > @@ -77,7 +77,7 @@ > > namespace SigC { > > -template > +template > struct retype_slot_functor > : public ::sigc::adapts > { > Index: sigc++/macros/signal.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/signal.h.m4,v > retrieving revision 1.24 > diff -u -r1.24 signal.h.m4 > --- sigc++/macros/signal.h.m4 21 Dec 2005 08:28:18 -0000 1.24 > +++ sigc++/macros/signal.h.m4 27 May 2006 06:40:27 -0000 > @@ -23,7 +23,7 @@ > * This template implements the emit() function of signal$1. > * Template specializations are available to optimize signal > * emission when no accumulator is used, i.e. the template > - * argument @e T_accumulator is @p nil. > + * argument @e T_accumulator is @p none. > */ > template > struct signal_emit$1 > @@ -108,9 +108,9 @@ > * function for the case that no accumulator is used. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef T_return result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -206,9 +206,9 @@ > * return type is @p void. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef void result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -284,13 +284,13 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > * > * You should use the more convenient unnumbered sigc::signal template. > * > * @ingroup signal > */ > -template > +template > class signal$1 > : public signal_base > { > @@ -330,7 +330,7 @@ > * During signal emission all slots that have been connected > * to the signal are invoked unless they are manually set into > * a blocking state. The parameters are passed on to the slots. > - * If @e T_accumulated is not @p nil, an accumulator of this type > + * If @e T_accumulated is not @p none, an accumulator of this type > * is used to process the return values of the slot invocations. > * Otherwise, the return value of the last slot invoked is returned.dnl > FOR(1, $1,[ > @@ -403,7 +403,7 @@ > * the emit() function: > * - @e T_return The desired return type of the emit() function.dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of emit(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of emit(). The default @p none means no argument.]) > * > * To specify an accumulator type the nested class signal::accumulated can be used. > * > @@ -417,7 +417,7 @@ > * > * @ingroup signal > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::signal$1 template. > * See the base class for useful methods. > @@ -429,8 +429,8 @@ > ])dnl > */ > template ]) > -class signal ifelse($1, $2,,[]) > - : public signal$1 > +class signal ifelse($1, $2,,[]) > + : public signal$1 > { > public: > ifelse($1, $2,[dnl > @@ -498,7 +498,7 @@ > > signal() {} > signal(const signal& src) > - : signal$1(src) {} > + : signal$1(src) {} > }; > > ]) > @@ -525,12 +525,12 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > * > * @deprecated Use the unnumbered template sigc::signal instead. > * @ingroup compat > */ > -template > +template > class Signal$1 > : public ::sigc::signal$1 > { From murrayc@murrayc.com Tue Jun 6 16:08:18 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6E8503B0236 for ; Tue, 6 Jun 2006 16:08:18 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18750-08 for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from swarthymail-a2.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 7EABE3B0B3E for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from noname (p5497CD77.dip.t-dialin.net [84.151.205.119]) by swarthymail-a2.dreamhost.com (Postfix) with ESMTP id 806C4EB4D5; Tue, 6 Jun 2006 13:08:12 -0700 (PDT) Subject: Re: [sigc] Renaming nil From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <4485B89A.9070702@vmware.com> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 06 Jun 2006 22:08:09 +0200 Message-Id: <1149624489.6086.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.141 tagged_above=-999 required=2 tests=[AWL=-0.263, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=0.721] X-Spam-Score: -2.141 X-Spam-Level: Cc: libsigc-list@gnome.org X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 20:08:18 -0000 On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > Folks, > > I sent this patch (which allows to compile the libsigc++ headers with an > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > been any comment. Sorry, I didn't consider it urgent, and thought it best to give enough time for comments and problems to surface. > Does anybody need more time to review it, or can we proceed with the > checkin step? I've checked it in. Thanks for the perfect patch. (Please put it in bugzilla next time, like you usually do.) -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From laranjatomate@yahoo.com.br Wed Jun 14 16:44:01 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3FA4E3B0276 for ; Wed, 14 Jun 2006 16:44:01 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31686-05 for ; Wed, 14 Jun 2006 16:44:00 -0400 (EDT) Received: from web34307.mail.mud.yahoo.com (web34307.mail.mud.yahoo.com [66.163.178.139]) by menubar.gnome.org (Postfix) with SMTP id E612C3B0209 for ; Wed, 14 Jun 2006 16:43:59 -0400 (EDT) Received: (qmail 15176 invoked by uid 60001); 14 Jun 2006 20:43:27 -0000 Message-ID: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Received: from [143.107.239.167] by web34307.mail.mud.yahoo.com via HTTP; Wed, 14 Jun 2006 20:43:27 GMT Date: Wed, 14 Jun 2006 20:43:27 +0000 (GMT) From: =?iso-8859-1?q?Francisco=20Jos=E9=20Alves?= To: libsigc-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1872659769-1150317807=:13614" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=1.367 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, DNS_FROM_RFC_ABUSE=0.2, HTML_10_20=1.351, HTML_MESSAGE=0.001] X-Spam-Score: 1.367 X-Spam-Level: * X-Mailman-Approved-At: Sun, 18 Jun 2006 10:57:18 -0400 Subject: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 20:44:01 -0000 --0-1872659769-1150317807=:13614 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning. I was trying to compile libsig++ but it alerts there is not sigc++ installed. But I can't find it anyhwhere. Thanks for attention laranjatomate@hahoo.com.br __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning.

I was trying to compile libsig++ but it alerts there is not sigc++ installed.
But I can't find it anyhwhere.

Thanks for attention
laranjatomate@hahoo.com.br

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614-- From Eckhardt@satorlaser.com Mon Jun 19 02:30:27 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4D2C43B0D83 for ; Mon, 19 Jun 2006 02:30:27 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28331-04 for ; Mon, 19 Jun 2006 02:30:24 -0400 (EDT) Received: from vMimePS1.domino-printing.com (mail.domino-uk.com [193.131.116.193]) by menubar.gnome.org (Postfix) with ESMTP id 0C1F53B0D80 for ; Mon, 19 Jun 2006 02:30:23 -0400 (EDT) Received: from emea-exchange3.emea.dps.local (EMEA-EXCHANGE3) by vMimePS1.domino-printing.com (Clearswift SMTPRS 5.2.3) with ESMTP id for ; Mon, 19 Jun 2006 07:27:42 +0100 Received: from tuxator2.emea.dps.local ([192.168.55.75]) by emea-exchange3.emea.dps.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 08:30:34 +0200 From: Ulrich Eckhardt Organization: Sator Laser GmbH To: libsigc-list@gnome.org Date: Mon, 19 Jun 2006 08:30:34 +0200 User-Agent: KMail/1.9.1 References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606190830.34532.eckhardt@satorlaser.com> X-OriginalArrivalTime: 19 Jun 2006 06:30:34.0930 (UTC) FILETIME=[DF078920:01C69369] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.386 tagged_above=-999 required=2 tests=[AWL=-0.781, BAYES_20=-0.74, FORGED_RCVD_HELO=0.135] X-Spam-Score: -1.386 X-Spam-Level: Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:30:27 -0000 On Wednesday 14 June 2006 22:43, Francisco Jos=E9 Alves wrote: > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. But I can't find it anyhwhere. What is 'it'? What is the exact error message? What did you do? What did yo= u=20 expect to happen and what happened? Uli **************************************************** Visit our website at **************************************************** This Email and any files transmitted with it are intended only for the pers= on or entity to which it is addressed and may contain confidential and/or p= rivileged material. Any reading, redistribution, disclosure or other use of= , or taking of any action in reliance upon, this information by persons or = entities other than the intended recipient is prohibited. If you are not t= he intended recipient please contact the sender immediately and delete the = material from your computer. E-mail may be susceptible to data corruption, interception, viruses and una= uthorised amendment and Domino UK Limited does not accept liability for any= such corruption, interception, viruses or amendment or their consequences. **************************************************** From murrayc@murrayc.com Mon Jun 19 02:37:48 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 406FE3B0DB4 for ; Mon, 19 Jun 2006 02:37:48 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28466-06 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail3.sd.dreamhost.com (webmail3.sd.dreamhost.com [64.111.100.15]) by menubar.gnome.org (Postfix) with ESMTP id 2F38B3B0D99 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by webmail3.sd.dreamhost.com (Postfix) with ESMTP id E5D91140C6; Sun, 18 Jun 2006 23:16:45 -0700 (PDT) Received: from 194.138.18.132 (proxying for unknown) (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Mon, 19 Jun 2006 08:16:45 +0200 (CEST) Message-ID: <64734.194.138.18.132.1150697805.squirrel@webmail.murrayc.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Date: Mon, 19 Jun 2006 08:16:45 +0200 (CEST) From: "Murray Cumming" To: Francisco =?iso-8859-1?Q?Jos=E9_Alves?= User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.553 tagged_above=-999 required=2 tests=[AWL=0.046, BAYES_00=-2.599] X-Spam-Score: -2.553 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:37:48 -0000 > Good morning. > > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. > But I can't find it anyhwhere. What is the exact error message that you see? Also, if you are using Linux, I strongly advise you to use the official packages from your distro. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:24:56 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4273B3B01D6 for ; Mon, 19 Jun 2006 16:24:56 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30727-04 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from swarthymail-a1.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 87A4B3B01A7 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a1.dreamhost.com (Postfix) with ESMTP id 4F26F8F9F6; Mon, 19 Jun 2006 13:23:53 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1149624489.6086.10.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:23:49 +0200 Message-Id: <1150748629.6042.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:24:56 -0000 On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > Folks, > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > been any comment. > > Sorry, I didn't consider it urgent, and thought it best to give enough > time for comments and problems to surface. > > > Does anybody need more time to review it, or can we proceed with the > > checkin step? > > I've checked it in. Thanks for the perfect patch. > > (Please put it in bugzilla next time, like you usually do.) Note that we have not released a new version of this as a tarball yet. I am worried that it might be causing this problem, when I run a Ubuntu-packaged version of glom in an environment that has a cvs-built gtkmm: murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom glom: symbol lookup error: glom: undefined symbol: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ I guess I need to do some more investigation. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:31:50 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E05323B01D6 for ; Mon, 19 Jun 2006 16:31:49 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31013-08 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from swarthymail-a4.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 13E9A3B01A7 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a4.dreamhost.com (Postfix) with ESMTP id 820D5129A90; Mon, 19 Jun 2006 13:30:23 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1150748629.6042.21.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:30:10 +0200 Message-Id: <1150749010.6042.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:31:50 -0000 On Mon, 2006-06-19 at 22:23 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > > Folks, > > > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > > been any comment. > > > > Sorry, I didn't consider it urgent, and thought it best to give enough > > time for comments and problems to surface. > > > > > Does anybody need more time to review it, or can we proceed with the > > > checkin step? > > > > I've checked it in. Thanks for the perfect patch. > > > > (Please put it in bugzilla next time, like you usually do.) > > Note that we have not released a new version of this as a tarball yet. > > I am worried that it might be causing this problem, when I run a > Ubuntu-packaged version of glom in an environment that has a cvs-built > gtkmm: > > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom > glom: symbol lookup error: glom: undefined symbol: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ > > I guess I need to do some more investigation. nm shows that this symbol is exported: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE So I guess we have to roll this change back in cvs. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From hpreg@vmware.com Mon Jun 19 16:53:36 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E06643B0C48 for ; Mon, 19 Jun 2006 16:53:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31883-10 for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id AB0893B0DEB for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 89D7591E3; Mon, 19 Jun 2006 13:52:47 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 76DE36FC3E2; Mon, 19 Jun 2006 13:52:42 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 13:52:41 -0700 Message-ID: <44970E6D.4020209@vmware.com> Date: Mon, 19 Jun 2006 13:51:57 -0700 From: =?UTF-8?B?UsOpZ2lzIER1Y2hlc25l?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> <1150749010.6042.22.camel@localhost.localdomain> In-Reply-To: <1150749010.6042.22.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2006 20:52:41.0620 (UTC) FILETIME=[4E8A0D40:01C693E2] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:53:36 -0000 Murray, >>Note that we have not released a new version of this as a tarball yet. >> >>I am worried that it might be causing this problem, when I run a >>Ubuntu-packaged version of glom in an environment that has a cvs-built >>gtkmm: >> >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom >>glom: symbol lookup error: glom: undefined symbol: >>_ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ >> >>I guess I need to do some more investigation. > > > nm shows that this symbol is exported: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE > My build of sigc++ does not seem to export export any 'nil' or 'none' symbols. This seems to imply that 'nil' is not part of the sigc++ ABI. But what you are seeing seems to imply that 'nil' is part of gtkmm's ABI. How annoying. I don't have a solution to that problem so far, I'll try to think some more about this. Thanks, -- hpreg From rupert.swarbrick@lineone.net Mon Jun 26 17:15:46 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E27F93B00E3 for ; Mon, 26 Jun 2006 17:15:45 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16200-10 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from smtp2.freeserve.com (smtp2.wanadoo.co.uk [193.252.22.157]) by menubar.gnome.org (Postfix) with ESMTP id 82CC23B0157 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 7E1D51C000A4 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) Received: from rupert.swarbrick.net (user-3636.l1.c5.dsl.pol.co.uk [81.76.14.52]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 52C0A1C000A0 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) X-ME-UUID: 20060626211541339.52C0A1C000A0@mwinf3106.me.freeserve.com Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by rupert.swarbrick.net (Postfix) with ESMTP id 71B33170FD for ; Mon, 26 Jun 2006 22:15:33 +0100 (BST) Message-ID: <44A04E75.2050005@lineone.net> Date: Mon, 26 Jun 2006 22:15:33 +0100 From: Rupert Swarbrick User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: libsigc-list@gnome.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=8092182E Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="------------enig99A0AA9FE3343CFC05E2694E" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.187 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, FORGED_RCVD_HELO=0.135, TW_TK=0.077] X-Spam-Score: -2.187 X-Spam-Level: Subject: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:15:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig99A0AA9FE3343CFC05E2694E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've seen various "inaccessible base errors" in searching on Google, but I couldn't quite find this one and I don't understand quite what's going = on. I have a class, FileEntry (which consists of an entry widget and a button that spawns a file selection dialog from Gtkmm): class FileEntry : protected Gtk::HBox { public: FileEntry(bool open=3Dtrue, std::string defaultname=3D""); protected: void on_button(); ...stuff... }; (Note that it inherits from _protected_ HBox) Now, in FileEntry::FileEntry, I need to connect the button clicked event for said button to a handler. Thus I create the slot with this line: sigc::slot sl =3D sigc::mem_fun(*this, &FileEntry::on_button); Sadly, I now get these g++ error: /usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const bool sigc::is_base_and_derived::value': /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated from 'sigc::bound_mem_functor0' FileEntry.cc:11: instantiated from here /usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: 'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' Now then, I can compile happily by inheriting from public Gtk::HBox, but this really doesn't seem like it should be necessary - surely as we're in the constructor the public/private/whatever should make no difference?= I'd really like to know what the heck's going on here - does mem_fun do something very wierd? Sorry for the specifically Gtkmm question, but I presume that the actual issue at work is general enough here that it still applies? Also - this is the only list I could find for sigc++ - I hope it isn't purely a developer list! Rupert --------------enig99A0AA9FE3343CFC05E2694E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRKBOdUbXf6SW2FaGAQExwwQAmGwYJxuMDcSwIHOCFoFHoWyo5PvuwfkU /aEKkGsiUe6vd8VF4etVq6S+kdYx8hnunjm3JGJN60TgcjAPRJGLL6g6Ir38VOJg n6V3N7DL3tP1HHuB0Q2obGYeiTiPoJMcAPR/mNfaAIg86GHyIZVYXPUd0awuqTRX 0b4uMpnl3Ak= =2ZCQ -----END PGP SIGNATURE----- --------------enig99A0AA9FE3343CFC05E2694E-- From andrew@solvo.ru Tue Jun 27 02:29:37 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8D2323B0093 for ; Tue, 27 Jun 2006 02:29:37 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08957-07 for ; Tue, 27 Jun 2006 02:29:34 -0400 (EDT) Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by menubar.gnome.org (Postfix) with ESMTP id 8B10A3B007C for ; Tue, 27 Jun 2006 02:29:31 -0400 (EDT) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.13.6/8.13.6) with ESMTP id k5R6TTdc014590; Tue, 27 Jun 2006 10:29:30 +0400 Received: by tiger.solvo.ru (Postfix, from userid 504) id B50B23268C0; Tue, 27 Jun 2006 10:29:29 +0400 (MSD) Received: from [195.201.44.78] (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 7C99D3268B2; Tue, 27 Jun 2006 10:29:28 +0400 (MSD) Message-ID: <44A0CE70.9020606@solvo.ru> Date: Tue, 27 Jun 2006 10:21:36 +0400 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: Rupert Swarbrick References: <44A04E75.2050005@lineone.net> In-Reply-To: <44A04E75.2050005@lineone.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter (Reciever: gate.solvo.ru; Sender-ip: 195.201.44.86; Sender-helo: tiger.solvo.ru; ) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.529 tagged_above=-999 required=2 tests=[AWL=0.070, BAYES_00=-2.599] X-Spam-Score: -2.529 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 06:29:37 -0000 Rupert Swarbrick wrote: >I've seen various "inaccessible base errors" in searching on Google, but >I couldn't quite find this one and I don't understand quite what's going on. > >I have a class, FileEntry (which consists of an entry widget and a >button that spawns a file selection dialog from Gtkmm): > >class FileEntry : protected Gtk::HBox >{ >public: > FileEntry(bool open=true, > std::string defaultname=""); >protected: > void on_button(); > ...stuff... >}; > >(Note that it inherits from _protected_ HBox) > >Now, in FileEntry::FileEntry, I need to connect the button clicked event >for said button to a handler. Thus I create the slot with this line: > >sigc::slot sl = sigc::mem_fun(*this, &FileEntry::on_button); > >Sadly, I now get these g++ error: > >/usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const >bool sigc::is_base_and_derived::value': >/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated >from 'sigc::bound_mem_functor0' >FileEntry.cc:11: instantiated from here >/usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: >'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' > >Now then, I can compile happily by inheriting from public Gtk::HBox, but >this really doesn't seem like it should be necessary - surely as we're >in the constructor the public/private/whatever should make no difference? > >I'd really like to know what the heck's going on here - does mem_fun do >something very wierd? > > Please, consider my answer like a guess. "sigc::mem_fun" is a wrapper that construct sigc::slot object. Last one should have public access to your object sigc::trackable destructor to disconnect slot/signals when your object destroyed. Probably, you better do investigate source codes either documentation files for more information. Regards, -andrew From tshead@k-3d.com Sat Jun 3 23:11:00 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A89DB3B0474 for ; Sat, 3 Jun 2006 23:11:00 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11412-09 for ; Sat, 3 Jun 2006 23:10:57 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id 00E6D3B00F4 for ; Sat, 3 Jun 2006 23:10:56 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 56753107537E for ; Sat, 3 Jun 2006 20:53:57 -0600 (MDT) From: "Timothy M. Shead" To: "libsigc-list@gnome.org" Content-Type: text/plain Date: Sat, 03 Jun 2006 21:10:54 -0600 Message-Id: <1149390654.17329.8.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.344 tagged_above=-999 required=2 tests=[AWL=0.120, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.344 X-Spam-Level: Subject: [sigc] Accumulators X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 03:11:00 -0000 I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an accumulator for the first time, one that takes slots that return int and returns a std::vector. Unfortunately, I get a compile error - it seems that the iterators passed to the accumulator are picking-up on the accumulator result_type, instead of the slot result_type, leading to errors. Does anyone have an example of an accumulator whose result type differs from the slot result_type? Thanks in advance, Tim Shead #include #include class accumulate { public: typedef std::vector result_type; template result_type operator()(IteratorT First, IteratorT Last) { result_type result; for(; First != Last; ++First) result.push_back(*First); return result; } }; int foo() { return 1; } int bar() { return 2; } int main(int argc, char* argv[]) { sigc::signal0 signal; signal.connect(sigc::ptr_fun(foo)); signal.connect(sigc::ptr_fun(bar)); std::vector results = signal.emit(); return 0; } $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc ++-2.0/include -lstdc++ -lsigc-2.0 test.cpp: In member function `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]': /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here test.cpp:25: error: no matching function for call to `std::vector >::push_back(std::vector >)' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/stl_vector.h:596: error: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = int, _Alloc = std::allocator] /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result sigc::internal::slot_iterator_buf::operator*() const [with T_emitter = sigc::internal::signal_emit0, T_result = std::vector >]': test.cpp:25: instantiated from `std::vector > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = sigc::internal::slot_iterator_buf, std::vector > >]' /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static typename T_accumulator::result_type sigc::internal::signal_emit0::emit(sigc::internal::signal_impl*) [with T_return = int, T_accumulator = accumulate]' /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from `typename sigc::internal::signal_emit0::result_type sigc::signal0::emit() const [with T_return = int, T_accumulator = accumulate]' test.cpp:38: instantiated from here /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for 'operator=' in 'this->sigc::internal::slot_iterator_buf, std::vector > >::r_ = this->sigc::internal::slot_iterator_buf, std::vector > >::c_->sigc::internal::signal_emit0::operator() [with T_return = int, T_accumulator = accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* [with _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const sigc::slot_base*]())))' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g ++-v3/bits/vector.tcc:128: error: candidates are: std::vector<_Tp, _Alloc>& std::vector<_Tp, _Alloc>::operator=(const std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = std::allocator] distcc[12622] ERROR: compile test.cpp on localhost failed From martin-ml@hippogriff.de Mon Jun 5 17:06:59 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 76CBB3B03B1 for ; Mon, 5 Jun 2006 17:06:59 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32083-07 for ; Mon, 5 Jun 2006 17:06:48 -0400 (EDT) Received: from lsrv.de (smtp-gateway.de [80.190.148.105]) by menubar.gnome.org (Postfix) with ESMTP id 0523D3B086B for ; Mon, 5 Jun 2006 17:06:47 -0400 (EDT) Received: from dslb-084-061-217-179.pools.arcor-ip.net ([84.61.217.179]) by lsrv.de with esmtpa (Exim 4.54) id 1FnMHA-00029s-Hy; Mon, 05 Jun 2006 23:06:16 +0200 Subject: Re: [sigc] Accumulators From: Martin Schulze To: "Timothy M. Shead" In-Reply-To: <1149390654.17329.8.camel@joe.k-3d.com> References: <1149390654.17329.8.camel@joe.k-3d.com> Content-Type: text/plain Date: Mon, 05 Jun 2006 23:06:40 +0200 Message-Id: <1149541600.8763.36.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.464 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.464 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 21:06:59 -0000 You are right - this look like a bug! Most likely, in signal.h.m4, definition of struct signal_emit$1, line: typedef internal::slot_iterator_buf slot_iterator_buf_type; should read: typedef internal::slot_iterator_buf slot_iterator_buf_type; Could you file a bug report, please? Thanks! Martin Am Samstag, den 03.06.2006, 21:10 -0600 schrieb Timothy M. Shead: > I'm using libsigc++ 2.0.16 on Gentoo Linux, and trying to write an > accumulator for the first time, one that takes slots that return int and > returns a std::vector. Unfortunately, I get a compile error - it > seems that the iterators passed to the accumulator are picking-up on the > accumulator result_type, instead of the slot result_type, leading to > errors. Does anyone have an example of an accumulator whose result type > differs from the slot result_type? > > Thanks in advance, > Tim Shead > > #include > #include > > class accumulate > { > public: > typedef std::vector result_type; > > template > result_type operator()(IteratorT First, IteratorT Last) > { > result_type result; > > for(; First != Last; ++First) > result.push_back(*First); > > return result; > } > }; > > int foo() > { > return 1; > } > > int bar() > { > return 2; > } > > int main(int argc, char* argv[]) > { > sigc::signal0 signal; > > signal.connect(sigc::ptr_fun(foo)); > signal.connect(sigc::ptr_fun(bar)); > > std::vector results = signal.emit(); > > return 0; > } > > $ gcc -o test test.cpp -I/usr/include/sigc++-2.0 -I/usr/lib/sigc > ++-2.0/include -lstdc++ -lsigc-2.0 > test.cpp: In member function `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]': > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > test.cpp:25: error: no matching function for call to `std::vector std::allocator >::push_back(std::vector > >)' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/stl_vector.h:596: error: candidates > are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = > int, > _Alloc = std::allocator] > /usr/include/sigc++-2.0/sigc++/signal.h: In member function `T_result > sigc::internal::slot_iterator_buf::operator*() > const > [with T_emitter = sigc::internal::signal_emit0, > T_result = > std::vector >]': > test.cpp:25: instantiated from `std::vector > > accumulate::operator()(IteratorT, IteratorT) [with IteratorT = > sigc::internal::slot_iterator_buf accumulate>, std::vector > >]' > /usr/include/sigc++-2.0/sigc++/signal.h:453: instantiated from `static > typename T_accumulator::result_type > sigc::internal::signal_emit0 T_accumulator>::emit(sigc::internal::signal_impl*) [with T_return = int, > T_accumulator = accumulate]' > /usr/include/sigc++-2.0/sigc++/signal.h:1702: instantiated from > `typename sigc::internal::signal_emit0 T_accumulator>::result_type sigc::signal0 T_accumulator>::emit() const [with T_return = int, T_accumulator = > accumulate]' > test.cpp:38: instantiated from here > /usr/include/sigc++-2.0/sigc++/signal.h:296: error: no match for > 'operator=' in > > 'this->sigc::internal::slot_iterator_buf accumulate>, std::vector > >::r_ = > > this->sigc::internal::slot_iterator_buf accumulate>, std::vector > > >::c_->sigc::internal::signal_emit0 T_accumulator>::operator() > [with T_return = int, T_accumulator = > accumulate]((+(&this->std::_List_iterator<_Tp, _Ref, _Ptr>::operator* > [with > _Tp = sigc::slot_base, _Ref = const sigc::slot_base&, _Ptr = const > sigc::slot_base*]())))' > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g > ++-v3/bits/vector.tcc:128: error: candidates > are: std::vector<_Tp, _Alloc>& std::vector<_Tp, > _Alloc>::operator=(const > std::vector<_Tp, _Alloc>&) [with _Tp = int, _Alloc = > std::allocator] > distcc[12622] ERROR: compile test.cpp on localhost failed > > _______________________________________________ > libsigc-list mailing list > libsigc-list@gnome.org > http://mail.gnome.org/mailman/listinfo/libsigc-list From tshead@k-3d.com Mon Jun 5 22:00:21 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E75E03B009D for ; Mon, 5 Jun 2006 22:00:20 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16063-05 for ; Mon, 5 Jun 2006 22:00:18 -0400 (EDT) Received: from kathy.k-3d.com (216.184.31.109.unused.swcp.com [216.184.31.109]) by menubar.gnome.org (Postfix) with ESMTP id EAA333B0012 for ; Mon, 5 Jun 2006 22:00:17 -0400 (EDT) Received: from joe.k-3d.com (joe.k-3d.com [192.168.0.16]) by kathy.k-3d.com (Postfix) with ESMTP id 4CB05107E33F; Mon, 5 Jun 2006 19:43:18 -0600 (MDT) Subject: Re: [sigc] Accumulators From: "Timothy M. Shead" To: Martin Schulze In-Reply-To: <1149541600.8763.36.camel@localhost.localdomain> References: <1149390654.17329.8.camel@joe.k-3d.com> <1149541600.8763.36.camel@localhost.localdomain> Content-Type: text/plain Date: Mon, 05 Jun 2006 20:00:15 -0600 Message-Id: <1149559215.29091.1.camel@joe.k-3d.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.347 tagged_above=-999 required=2 tests=[AWL=0.117, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -2.347 X-Spam-Level: Cc: "libsigc-list@gnome.org" X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:00:21 -0000 On Mon, 2006-06-05 at 23:06 +0200, Martin Schulze wrote: > You are right - this look like a bug! > > Most likely, in signal.h.m4, definition of struct signal_emit$1, line: > > typedef internal::slot_iterator_buf slot_iterator_buf_type; > > should read: > > typedef internal::slot_iterator_buf > slot_iterator_buf_type; > > Could you file a bug report, please? Done! Many thanks, Tim From hpreg@vmware.com Tue Jun 6 13:19:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1543C3B0AE4 for ; Tue, 6 Jun 2006 13:19:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08456-02 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id 3A1763B0AE1 for ; Tue, 6 Jun 2006 13:19:09 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 68C4A6E09 for ; Tue, 6 Jun 2006 10:19:07 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 0A19E6FC367 for ; Tue, 6 Jun 2006 10:19:08 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 6 Jun 2006 10:19:08 -0700 Message-ID: <4485B89A.9070702@vmware.com> Date: Tue, 06 Jun 2006 10:17:14 -0700 From: =?ISO-8859-1?Q?R=E9gis_Duchesne?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> In-Reply-To: <4477F9F2.7070400@vmware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Jun 2006 17:19:08.0787 (UTC) FILETIME=[52202430:01C6898D] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:19:12 -0000 Folks, I sent this patch (which allows to compile the libsigc++ headers with an Objective-C++ compiler) to the list 10 days ago, and so far there hasn't been any comment. Does anybody need more time to review it, or can we proceed with the checkin step? Thanks, -- hpreg Régis Duchesne wrote: > As promised, here is a patch. > > I produced it from the public CVS repository, which seems to be lagging > a bit. So expect trivial conflicts in ChangeLog. > > Also I don't know what is wrong on my box, but ./autogen.sh doesn't just > work. So I couldn't do any testing. Although I'm not expecting any > problem, at the very least, I wanted to do 'make && make tests'. Can > whoever applies this patch do that testing and just let me know if I > broke something? > > Thanks, > > > ------------------------------------------------------------------------ > > Index: ChangeLog > =================================================================== > RCS file: /cvs/gnome/libsigc++2/ChangeLog,v > retrieving revision 1.228 > diff -u -r1.228 ChangeLog > --- ChangeLog 21 Dec 2005 08:28:17 -0000 1.228 > +++ ChangeLog 27 May 2006 06:40:25 -0000 > @@ -1,3 +1,14 @@ > +2006-05-26 Régis Duchesne > + > + * sigc++/adaptors/macros/bind.h.m4: > + * sigc++/adaptors/macros/retype.h.m4: > + * sigc++/functors/macros/functor_trait.h.m4: > + * sigc++/functors/macros/slot.h.m4: > + * sigc++/macros/retype.h.m4: > + * sigc++/macros/signal.h.m4: > + Renamed 'nil' to 'none' to allow an Objective-C++ compiler to compile > + the library header files. > + > 2005-12-21 Murray Cumming > > * sigc++/macros/signal.h.m4: Make remaining > Index: sigc++/adaptors/macros/bind.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/bind.h.m4,v > retrieving revision 1.19 > diff -u -r1.19 bind.h.m4 > --- sigc++/adaptors/macros/bind.h.m4 10 Jun 2005 17:35:40 -0000 1.19 > +++ sigc++/adaptors/macros/bind.h.m4 27 May 2006 06:40:26 -0000 > @@ -80,7 +80,7 @@ > * @ingroup bind > */ > template > -struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(nil, CALL_SIZE - 1))> : public adapts > +struct bind_functor<$1, T_functor, T_bound, LIST(LOOP(none, CALL_SIZE - 1))> : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -120,7 +120,7 @@ > * @ingroup bind > */ > template > -struct bind_functor : public adapts > +struct bind_functor : public adapts > { > typedef typename adapts::adaptor_type adaptor_type; > > @@ -332,7 +332,7 @@ > * > * @ingroup bind > */ > -template > +template > struct bind_functor; > > FOR(0,eval(CALL_SIZE-1),[[BIND_FUNCTOR_LOCATION(%1)]])dnl > Index: sigc++/adaptors/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/adaptors/macros/retype.h.m4,v > retrieving revision 1.8 > diff -u -r1.8 retype.h.m4 > --- sigc++/adaptors/macros/retype.h.m4 1 Feb 2005 11:02:20 -0000 1.8 > +++ sigc++/adaptors/macros/retype.h.m4 27 May 2006 06:40:26 -0000 > @@ -133,7 +133,7 @@ > * > * @ingroup retype > */ > -template > +template > struct retype_functor > : public adapts > { > Index: sigc++/functors/macros/functor_trait.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/functor_trait.h.m4,v > retrieving revision 1.4 > diff -u -r1.4 functor_trait.h.m4 > --- sigc++/functors/macros/functor_trait.h.m4 12 Apr 2004 21:53:37 -0000 1.4 > +++ sigc++/functors/macros/functor_trait.h.m4 27 May 2006 06:40:26 -0000 > @@ -77,14 +77,25 @@ > > namespace sigc { > > -/** nil struct type. > - * The nil struct type is used as default template argument in the > +/** none struct type. > + * The none struct type is used as default template argument in the > * unnumbered sigc::signal and sigc::slot templates. > * > * @ingroup signal > * @ingroup slot > */ > -struct nil; > +struct none; > + > +/** nil type (deprecated). > + * The nil type is an alias for the none struct type. It is not available when > + * using an Objective-C++ compiler (because nil has a different meaning in > + * Objective-C). Otherwise its use is deprecated, but it is defined so that > + * source code written against libsigc++ versions <= 2.0.17 still compiles. > + * @deprecated Use none instead. > + */ > +#ifndef __OBJC__ > +typedef none nil; > +#endif > > > /** @defgroup functors Functors > Index: sigc++/functors/macros/slot.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/functors/macros/slot.h.m4,v > retrieving revision 1.17 > diff -u -r1.17 slot.h.m4 > --- sigc++/functors/macros/slot.h.m4 10 Jun 2005 17:35:40 -0000 1.17 > +++ sigc++/functors/macros/slot.h.m4 27 May 2006 06:40:26 -0000 > @@ -26,7 +26,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -107,7 +107,7 @@ > * The template arguments determine the function signature of operator()(): > * - @e T_return The return type of operator()().dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of operator()(). The default @p none means no argument.]) > * > * To use simply assign the slot to the desired functor. If the functor > * is not compatible with the parameter list defined with the template > @@ -125,18 +125,18 @@ > * > * @ingroup slot > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::slot$1 template. > * See the base class for useful methods. > * This is the template specialization of the unnumbered sigc::slot > * template for $1 argument(s), specialized for different numbers of arguments > - * This is possible because the template has default (nil) template types. > + * This is possible because the template has default (none) template types. > dnl * > dnl * @ingroup slot > */ > template ]) > -class slot ifelse($1, $2,,[]) > +class slot ifelse($1, $2,,[]) > : public slot$1 > { > public: > Index: sigc++/macros/retype.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/retype.h.m4,v > retrieving revision 1.7 > diff -u -r1.7 retype.h.m4 > --- sigc++/macros/retype.h.m4 1 Feb 2005 11:02:21 -0000 1.7 > +++ sigc++/macros/retype.h.m4 27 May 2006 06:40:27 -0000 > @@ -77,7 +77,7 @@ > > namespace SigC { > > -template > +template > struct retype_slot_functor > : public ::sigc::adapts > { > Index: sigc++/macros/signal.h.m4 > =================================================================== > RCS file: /cvs/gnome/libsigc++2/sigc++/macros/signal.h.m4,v > retrieving revision 1.24 > diff -u -r1.24 signal.h.m4 > --- sigc++/macros/signal.h.m4 21 Dec 2005 08:28:18 -0000 1.24 > +++ sigc++/macros/signal.h.m4 27 May 2006 06:40:27 -0000 > @@ -23,7 +23,7 @@ > * This template implements the emit() function of signal$1. > * Template specializations are available to optimize signal > * emission when no accumulator is used, i.e. the template > - * argument @e T_accumulator is @p nil. > + * argument @e T_accumulator is @p none. > */ > template > struct signal_emit$1 > @@ -108,9 +108,9 @@ > * function for the case that no accumulator is used. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef T_return result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -206,9 +206,9 @@ > * return type is @p void. > */ > template > -struct signal_emit$1 > +struct signal_emit$1 > { > - typedef signal_emit$1 self_type; > + typedef signal_emit$1 self_type; > typedef void result_type; > typedef slot slot_type; > typedef signal_impl::const_iterator_type iterator_type; > @@ -284,13 +284,13 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used, i.e. signal emission returns the return value of the last slot invoked. > * > * You should use the more convenient unnumbered sigc::signal template. > * > * @ingroup signal > */ > -template > +template > class signal$1 > : public signal_base > { > @@ -330,7 +330,7 @@ > * During signal emission all slots that have been connected > * to the signal are invoked unless they are manually set into > * a blocking state. The parameters are passed on to the slots. > - * If @e T_accumulated is not @p nil, an accumulator of this type > + * If @e T_accumulated is not @p none, an accumulator of this type > * is used to process the return values of the slot invocations. > * Otherwise, the return value of the last slot invoked is returned.dnl > FOR(1, $1,[ > @@ -403,7 +403,7 @@ > * the emit() function: > * - @e T_return The desired return type of the emit() function.dnl > FOR(1,$1,[ > - * - @e T_arg%1 Argument type used in the definition of emit(). The default @p nil means no argument.]) > + * - @e T_arg%1 Argument type used in the definition of emit(). The default @p none means no argument.]) > * > * To specify an accumulator type the nested class signal::accumulated can be used. > * > @@ -417,7 +417,7 @@ > * > * @ingroup signal > */ > -template ],[dnl > +template ],[dnl > > /** Convenience wrapper for the numbered sigc::signal$1 template. > * See the base class for useful methods. > @@ -429,8 +429,8 @@ > ])dnl > */ > template ]) > -class signal ifelse($1, $2,,[]) > - : public signal$1 > +class signal ifelse($1, $2,,[]) > + : public signal$1 > { > public: > ifelse($1, $2,[dnl > @@ -498,7 +498,7 @@ > > signal() {} > signal(const signal& src) > - : signal$1(src) {} > + : signal$1(src) {} > }; > > ]) > @@ -525,12 +525,12 @@ > * - @e T_return The desired return type for the emit() function (may be overridden by the accumulator).dnl > FOR(1,$1,[ > * - @e T_arg%1 Argument type used in the definition of emit().]) > - * - @e T_accumulator The accumulator type used for emission. The default @p nil means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > + * - @e T_accumulator The accumulator type used for emission. The default @p none means that no accumulator should be used. Signal emission returns the return value of the last slot invoked. > * > * @deprecated Use the unnumbered template sigc::signal instead. > * @ingroup compat > */ > -template > +template > class Signal$1 > : public ::sigc::signal$1 > { From murrayc@murrayc.com Tue Jun 6 16:08:18 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6E8503B0236 for ; Tue, 6 Jun 2006 16:08:18 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18750-08 for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from swarthymail-a2.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 7EABE3B0B3E for ; Tue, 6 Jun 2006 16:08:14 -0400 (EDT) Received: from noname (p5497CD77.dip.t-dialin.net [84.151.205.119]) by swarthymail-a2.dreamhost.com (Postfix) with ESMTP id 806C4EB4D5; Tue, 6 Jun 2006 13:08:12 -0700 (PDT) Subject: Re: [sigc] Renaming nil From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <4485B89A.9070702@vmware.com> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 06 Jun 2006 22:08:09 +0200 Message-Id: <1149624489.6086.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.141 tagged_above=-999 required=2 tests=[AWL=-0.263, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=0.721] X-Spam-Score: -2.141 X-Spam-Level: Cc: libsigc-list@gnome.org X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 20:08:18 -0000 On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > Folks, > > I sent this patch (which allows to compile the libsigc++ headers with an > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > been any comment. Sorry, I didn't consider it urgent, and thought it best to give enough time for comments and problems to surface. > Does anybody need more time to review it, or can we proceed with the > checkin step? I've checked it in. Thanks for the perfect patch. (Please put it in bugzilla next time, like you usually do.) -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From laranjatomate@yahoo.com.br Wed Jun 14 16:44:01 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3FA4E3B0276 for ; Wed, 14 Jun 2006 16:44:01 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31686-05 for ; Wed, 14 Jun 2006 16:44:00 -0400 (EDT) Received: from web34307.mail.mud.yahoo.com (web34307.mail.mud.yahoo.com [66.163.178.139]) by menubar.gnome.org (Postfix) with SMTP id E612C3B0209 for ; Wed, 14 Jun 2006 16:43:59 -0400 (EDT) Received: (qmail 15176 invoked by uid 60001); 14 Jun 2006 20:43:27 -0000 Message-ID: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Received: from [143.107.239.167] by web34307.mail.mud.yahoo.com via HTTP; Wed, 14 Jun 2006 20:43:27 GMT Date: Wed, 14 Jun 2006 20:43:27 +0000 (GMT) From: =?iso-8859-1?q?Francisco=20Jos=E9=20Alves?= To: libsigc-list@gnome.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1872659769-1150317807=:13614" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=1.367 tagged_above=-999 required=2 tests=[BAYES_40=-0.185, DNS_FROM_RFC_ABUSE=0.2, HTML_10_20=1.351, HTML_MESSAGE=0.001] X-Spam-Score: 1.367 X-Spam-Level: * X-Mailman-Approved-At: Sun, 18 Jun 2006 10:57:18 -0400 Subject: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2006 20:44:01 -0000 --0-1872659769-1150317807=:13614 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning. I was trying to compile libsig++ but it alerts there is not sigc++ installed. But I can't find it anyhwhere. Thanks for attention laranjatomate@hahoo.com.br __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ __________________________________________________ Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Good morning.

I was trying to compile libsig++ but it alerts there is not sigc++ installed.
But I can't find it anyhwhere.

Thanks for attention
laranjatomate@hahoo.com.br

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/

__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ --0-1872659769-1150317807=:13614-- From Eckhardt@satorlaser.com Mon Jun 19 02:30:27 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4D2C43B0D83 for ; Mon, 19 Jun 2006 02:30:27 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28331-04 for ; Mon, 19 Jun 2006 02:30:24 -0400 (EDT) Received: from vMimePS1.domino-printing.com (mail.domino-uk.com [193.131.116.193]) by menubar.gnome.org (Postfix) with ESMTP id 0C1F53B0D80 for ; Mon, 19 Jun 2006 02:30:23 -0400 (EDT) Received: from emea-exchange3.emea.dps.local (EMEA-EXCHANGE3) by vMimePS1.domino-printing.com (Clearswift SMTPRS 5.2.3) with ESMTP id for ; Mon, 19 Jun 2006 07:27:42 +0100 Received: from tuxator2.emea.dps.local ([192.168.55.75]) by emea-exchange3.emea.dps.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 08:30:34 +0200 From: Ulrich Eckhardt Organization: Sator Laser GmbH To: libsigc-list@gnome.org Date: Mon, 19 Jun 2006 08:30:34 +0200 User-Agent: KMail/1.9.1 References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606190830.34532.eckhardt@satorlaser.com> X-OriginalArrivalTime: 19 Jun 2006 06:30:34.0930 (UTC) FILETIME=[DF078920:01C69369] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-1.386 tagged_above=-999 required=2 tests=[AWL=-0.781, BAYES_20=-0.74, FORGED_RCVD_HELO=0.135] X-Spam-Score: -1.386 X-Spam-Level: Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:30:27 -0000 On Wednesday 14 June 2006 22:43, Francisco Jos=E9 Alves wrote: > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. But I can't find it anyhwhere. What is 'it'? What is the exact error message? What did you do? What did yo= u=20 expect to happen and what happened? Uli **************************************************** Visit our website at **************************************************** This Email and any files transmitted with it are intended only for the pers= on or entity to which it is addressed and may contain confidential and/or p= rivileged material. Any reading, redistribution, disclosure or other use of= , or taking of any action in reliance upon, this information by persons or = entities other than the intended recipient is prohibited. If you are not t= he intended recipient please contact the sender immediately and delete the = material from your computer. E-mail may be susceptible to data corruption, interception, viruses and una= uthorised amendment and Domino UK Limited does not accept liability for any= such corruption, interception, viruses or amendment or their consequences. **************************************************** From murrayc@murrayc.com Mon Jun 19 02:37:48 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 406FE3B0DB4 for ; Mon, 19 Jun 2006 02:37:48 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28466-06 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail3.sd.dreamhost.com (webmail3.sd.dreamhost.com [64.111.100.15]) by menubar.gnome.org (Postfix) with ESMTP id 2F38B3B0D99 for ; Mon, 19 Jun 2006 02:37:47 -0400 (EDT) Received: from webmail.murrayc.com (localhost [127.0.0.1]) by webmail3.sd.dreamhost.com (Postfix) with ESMTP id E5D91140C6; Sun, 18 Jun 2006 23:16:45 -0700 (PDT) Received: from 194.138.18.132 (proxying for unknown) (SquirrelMail authenticated user murrayc@murrayc.com) by webmail.murrayc.com with HTTP; Mon, 19 Jun 2006 08:16:45 +0200 (CEST) Message-ID: <64734.194.138.18.132.1150697805.squirrel@webmail.murrayc.com> In-Reply-To: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> References: <20060614204327.15174.qmail@web34307.mail.mud.yahoo.com> Date: Mon, 19 Jun 2006 08:16:45 +0200 (CEST) From: "Murray Cumming" To: Francisco =?iso-8859-1?Q?Jos=E9_Alves?= User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.553 tagged_above=-999 required=2 tests=[AWL=0.046, BAYES_00=-2.599] X-Spam-Score: -2.553 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc++ missing X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 06:37:48 -0000 > Good morning. > > I was trying to compile libsig++ but it alerts there is not sigc++ > installed. > But I can't find it anyhwhere. What is the exact error message that you see? Also, if you are using Linux, I strongly advise you to use the official packages from your distro. Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:24:56 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4273B3B01D6 for ; Mon, 19 Jun 2006 16:24:56 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30727-04 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from swarthymail-a1.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 87A4B3B01A7 for ; Mon, 19 Jun 2006 16:24:53 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a1.dreamhost.com (Postfix) with ESMTP id 4F26F8F9F6; Mon, 19 Jun 2006 13:23:53 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1149624489.6086.10.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:23:49 +0200 Message-Id: <1150748629.6042.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:24:56 -0000 On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > Folks, > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > been any comment. > > Sorry, I didn't consider it urgent, and thought it best to give enough > time for comments and problems to surface. > > > Does anybody need more time to review it, or can we proceed with the > > checkin step? > > I've checked it in. Thanks for the perfect patch. > > (Please put it in bugzilla next time, like you usually do.) Note that we have not released a new version of this as a tarball yet. I am worried that it might be causing this problem, when I run a Ubuntu-packaged version of glom in an environment that has a cvs-built gtkmm: murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom glom: symbol lookup error: glom: undefined symbol: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ I guess I need to do some more investigation. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From murrayc@murrayc.com Mon Jun 19 16:31:50 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E05323B01D6 for ; Mon, 19 Jun 2006 16:31:49 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31013-08 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from swarthymail-a4.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by menubar.gnome.org (Postfix) with ESMTP id 13E9A3B01A7 for ; Mon, 19 Jun 2006 16:31:44 -0400 (EDT) Received: from noname (p5497F6A7.dip.t-dialin.net [84.151.246.167]) by swarthymail-a4.dreamhost.com (Postfix) with ESMTP id 820D5129A90; Mon, 19 Jun 2006 13:30:23 -0700 (PDT) From: Murray Cumming To: =?ISO-8859-1?Q?R=E9gis?= Duchesne In-Reply-To: <1150748629.6042.21.camel@localhost.localdomain> References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Date: Mon, 19 Jun 2006 22:30:10 +0200 Message-Id: <1150749010.6042.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.481 tagged_above=-999 required=2 tests=[AWL=0.118, BAYES_00=-2.599] X-Spam-Score: -2.481 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:31:50 -0000 On Mon, 2006-06-19 at 22:23 +0200, Murray Cumming wrote: > On Tue, 2006-06-06 at 22:08 +0200, Murray Cumming wrote: > > On Tue, 2006-06-06 at 10:17 -0700, Régis Duchesne wrote: > > > Folks, > > > > > > I sent this patch (which allows to compile the libsigc++ headers with an > > > Objective-C++ compiler) to the list 10 days ago, and so far there hasn't > > > been any comment. > > > > Sorry, I didn't consider it urgent, and thought it best to give enough > > time for comments and problems to surface. > > > > > Does anybody need more time to review it, or can we proceed with the > > > checkin step? > > > > I've checked it in. Thanks for the perfect patch. > > > > (Please put it in bugzilla next time, like you usually do.) > > Note that we have not released a new version of this as a tarball yet. > > I am worried that it might be causing this problem, when I run a > Ubuntu-packaged version of glom in an environment that has a cvs-built > gtkmm: > > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom > glom: symbol lookup error: glom: undefined symbol: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE > murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ > > I guess I need to do some more investigation. nm shows that this symbol is exported: _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE So I guess we have to roll this change back in cvs. -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com From hpreg@vmware.com Mon Jun 19 16:53:36 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E06643B0C48 for ; Mon, 19 Jun 2006 16:53:35 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31883-10 for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailout1.vmware.com (mailout1.vmware.com [65.113.40.130]) by menubar.gnome.org (Postfix) with ESMTP id AB0893B0DEB for ; Mon, 19 Jun 2006 16:53:33 -0400 (EDT) Received: from mailhost1.vmware.com (mailhost1.vmware.com [10.16.12.135]) by mailout1.vmware.com (Postfix) with ESMTP id 89D7591E3; Mon, 19 Jun 2006 13:52:47 -0700 (PDT) Received: from pa-exch3.vmware.com (pa-exch3.vmware.com [10.16.15.61]) by mailhost1.vmware.com (Postfix) with ESMTP id 76DE36FC3E2; Mon, 19 Jun 2006 13:52:42 -0700 (PDT) Received: from [10.17.169.59] ([10.17.169.59]) by pa-exch3.vmware.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jun 2006 13:52:41 -0700 Message-ID: <44970E6D.4020209@vmware.com> Date: Mon, 19 Jun 2006 13:51:57 -0700 From: =?UTF-8?B?UsOpZ2lzIER1Y2hlc25l?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050802 Debian/1.7.10-1 X-Accept-Language: en MIME-Version: 1.0 To: Murray Cumming References: <44737824.1080300@vmware.com> <4474D4DA.9070808@hippogriff.de> <4476132A.7010005@vmware.com> <1279.217.250.20.118.1148638605.squirrel@ssl.kundeneinstellungen.de> <1148637843.5971.6.camel@localhost.localdomain> <44775316.2000507@vmware.com> <4477F9F2.7070400@vmware.com> <4485B89A.9070702@vmware.com> <1149624489.6086.10.camel@localhost.localdomain> <1150748629.6042.21.camel@localhost.localdomain> <1150749010.6042.22.camel@localhost.localdomain> In-Reply-To: <1150749010.6042.22.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Jun 2006 20:52:41.0620 (UTC) FILETIME=[4E8A0D40:01C693E2] X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[AWL=0.000, BAYES_00=-2.599] X-Spam-Score: -2.599 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] Renaming nil X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 20:53:36 -0000 Murray, >>Note that we have not released a new version of this as a tarball yet. >> >>I am worried that it might be causing this problem, when I run a >>Ubuntu-packaged version of glom in an environment that has a cvs-built >>gtkmm: >> >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ glom >>glom: symbol lookup error: glom: undefined symbol: >>_ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_3nilES9_S9_S9_S9_S9_S9_EE >>murrayc@ubuntumurrayc:~/cvs/gnome216/gtkmm$ >> >>I guess I need to do some more investigation. > > > nm shows that this symbol is exported: > _ZN3Gtk11ActionGroup3addERKN4Glib6RefPtrINS_6ActionEEERKN4sigc4slotIvNS7_4noneES9_S9_S9_S9_S9_S9_EE > My build of sigc++ does not seem to export export any 'nil' or 'none' symbols. This seems to imply that 'nil' is not part of the sigc++ ABI. But what you are seeing seems to imply that 'nil' is part of gtkmm's ABI. How annoying. I don't have a solution to that problem so far, I'll try to think some more about this. Thanks, -- hpreg From rupert.swarbrick@lineone.net Mon Jun 26 17:15:46 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E27F93B00E3 for ; Mon, 26 Jun 2006 17:15:45 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16200-10 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from smtp2.freeserve.com (smtp2.wanadoo.co.uk [193.252.22.157]) by menubar.gnome.org (Postfix) with ESMTP id 82CC23B0157 for ; Mon, 26 Jun 2006 17:15:42 -0400 (EDT) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 7E1D51C000A4 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) Received: from rupert.swarbrick.net (user-3636.l1.c5.dsl.pol.co.uk [81.76.14.52]) by mwinf3106.me.freeserve.com (SMTP Server) with ESMTP id 52C0A1C000A0 for ; Mon, 26 Jun 2006 23:15:41 +0200 (CEST) X-ME-UUID: 20060626211541339.52C0A1C000A0@mwinf3106.me.freeserve.com Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by rupert.swarbrick.net (Postfix) with ESMTP id 71B33170FD for ; Mon, 26 Jun 2006 22:15:33 +0100 (BST) Message-ID: <44A04E75.2050005@lineone.net> Date: Mon, 26 Jun 2006 22:15:33 +0100 From: Rupert Swarbrick User-Agent: Thunderbird 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: libsigc-list@gnome.org X-Enigmail-Version: 0.94.0.0 OpenPGP: id=8092182E Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="------------enig99A0AA9FE3343CFC05E2694E" X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.187 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, FORGED_RCVD_HELO=0.135, TW_TK=0.077] X-Spam-Score: -2.187 X-Spam-Level: Subject: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:15:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig99A0AA9FE3343CFC05E2694E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've seen various "inaccessible base errors" in searching on Google, but I couldn't quite find this one and I don't understand quite what's going = on. I have a class, FileEntry (which consists of an entry widget and a button that spawns a file selection dialog from Gtkmm): class FileEntry : protected Gtk::HBox { public: FileEntry(bool open=3Dtrue, std::string defaultname=3D""); protected: void on_button(); ...stuff... }; (Note that it inherits from _protected_ HBox) Now, in FileEntry::FileEntry, I need to connect the button clicked event for said button to a handler. Thus I create the slot with this line: sigc::slot sl =3D sigc::mem_fun(*this, &FileEntry::on_button); Sadly, I now get these g++ error: /usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const bool sigc::is_base_and_derived::value': /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated from 'sigc::bound_mem_functor0' FileEntry.cc:11: instantiated from here /usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: 'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' Now then, I can compile happily by inheriting from public Gtk::HBox, but this really doesn't seem like it should be necessary - surely as we're in the constructor the public/private/whatever should make no difference?= I'd really like to know what the heck's going on here - does mem_fun do something very wierd? Sorry for the specifically Gtkmm question, but I presume that the actual issue at work is general enough here that it still applies? Also - this is the only list I could find for sigc++ - I hope it isn't purely a developer list! Rupert --------------enig99A0AA9FE3343CFC05E2694E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRKBOdUbXf6SW2FaGAQExwwQAmGwYJxuMDcSwIHOCFoFHoWyo5PvuwfkU /aEKkGsiUe6vd8VF4etVq6S+kdYx8hnunjm3JGJN60TgcjAPRJGLL6g6Ir38VOJg n6V3N7DL3tP1HHuB0Q2obGYeiTiPoJMcAPR/mNfaAIg86GHyIZVYXPUd0awuqTRX 0b4uMpnl3Ak= =2ZCQ -----END PGP SIGNATURE----- --------------enig99A0AA9FE3343CFC05E2694E-- From andrew@solvo.ru Tue Jun 27 02:29:37 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8D2323B0093 for ; Tue, 27 Jun 2006 02:29:37 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08957-07 for ; Tue, 27 Jun 2006 02:29:34 -0400 (EDT) Received: from gate.solvo.ru (gate.solvo.ru [195.201.44.254]) by menubar.gnome.org (Postfix) with ESMTP id 8B10A3B007C for ; Tue, 27 Jun 2006 02:29:31 -0400 (EDT) Received: from tiger.solvo.ru (tiger.solvo.ru [195.201.44.86]) by gate.solvo.ru (8.13.6/8.13.6) with ESMTP id k5R6TTdc014590; Tue, 27 Jun 2006 10:29:30 +0400 Received: by tiger.solvo.ru (Postfix, from userid 504) id B50B23268C0; Tue, 27 Jun 2006 10:29:29 +0400 (MSD) Received: from [195.201.44.78] (phoenix.solvo.ru [195.201.44.78]) by tiger.solvo.ru (Postfix) with ESMTP id 7C99D3268B2; Tue, 27 Jun 2006 10:29:28 +0400 (MSD) Message-ID: <44A0CE70.9020606@solvo.ru> Date: Tue, 27 Jun 2006 10:21:36 +0400 From: "Andrew E. Makeev" Organization: Solvo Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: Rupert Swarbrick References: <44A04E75.2050005@lineone.net> In-Reply-To: <44A04E75.2050005@lineone.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Milter: Spamilter (Reciever: gate.solvo.ru; Sender-ip: 195.201.44.86; Sender-helo: tiger.solvo.ru; ) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-2.529 tagged_above=-999 required=2 tests=[AWL=0.070, BAYES_00=-2.599] X-Spam-Score: -2.529 X-Spam-Level: Cc: libsigc-list@gnome.org Subject: Re: [sigc] sigc::trackable inaccessible base error X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 06:29:37 -0000 Rupert Swarbrick wrote: >I've seen various "inaccessible base errors" in searching on Google, but >I couldn't quite find this one and I don't understand quite what's going on. > >I have a class, FileEntry (which consists of an entry widget and a >button that spawns a file selection dialog from Gtkmm): > >class FileEntry : protected Gtk::HBox >{ >public: > FileEntry(bool open=true, > std::string defaultname=""); >protected: > void on_button(); > ...stuff... >}; > >(Note that it inherits from _protected_ HBox) > >Now, in FileEntry::FileEntry, I need to connect the button clicked event >for said button to a handler. Thus I create the slot with this line: > >sigc::slot sl = sigc::mem_fun(*this, &FileEntry::on_button); > >Sadly, I now get these g++ error: > >/usr/include/sigc++-2.0/sigc++/type_traits.h: In instantiation of 'const >bool sigc::is_base_and_derived::value': >/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1792: instantiated >from 'sigc::bound_mem_functor0' >FileEntry.cc:11: instantiated from here >/usr/include/sigc++-2.0/sigc++/type_traits.h:132: error: >'sigc::trackable' is an inaccessible base of 'rjs::FileEntry' > >Now then, I can compile happily by inheriting from public Gtk::HBox, but >this really doesn't seem like it should be necessary - surely as we're >in the constructor the public/private/whatever should make no difference? > >I'd really like to know what the heck's going on here - does mem_fun do >something very wierd? > > Please, consider my answer like a guess. "sigc::mem_fun" is a wrapper that construct sigc::slot object. Last one should have public access to your object sigc::trackable destructor to disconnect slot/signals when your object destroyed. Probably, you better do investigate source codes either documentation files for more information. Regards, -andrew From pogonyshev@gmx.net Fri Jun 30 13:56:12 2006 Return-Path: X-Original-To: libsigc-list@gnome.org Delivered-To: libsigc-list@gnome.org Received: from localhost (unknown [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5C4CC3B0188 for ; Fri, 30 Jun 2006 13:56:12 -0400 (EDT) Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04103-05 for ; Fri, 30 Jun 2006 13:56:11 -0400 (EDT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by menubar.gnome.org (Postfix) with SMTP id A21973B0120 for ; Fri, 30 Jun 2006 13:56:10 -0400 (EDT) Received: (qmail invoked by alias); 30 Jun 2006 17:56:09 -0000 Received: from unknown (EHLO [82.209.226.247]) [82.209.226.247] by mail.gmx.net (mp032) with SMTP; 30 Jun 2006 19:56:09 +0200 X-Authenticated: #16844820 From: Paul Pogonyshev To: libsigc-list@gnome.org Date: Fri, 30 Jun 2006 20:58:58 +0300 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606302058.58377.pogonyshev@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Status: No, score=-0.957 tagged_above=-999 required=2 tests=[AWL=0.019, BAYES_05=-1.11, FORGED_RCVD_HELO=0.135, SPF_PASS=-0.001] X-Spam-Score: -0.957 X-Spam-Level: Subject: [sigc] conditions in libsigc X-BeenThere: libsigc-list@gnome.org X-Mailman-Version: 2.1.8 Precedence: list List-Id: Mailing list for libsigc++ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 17:56:12 -0000 Hi, I would like to propose conditions in libsigc. A condition is basically a boolean vairable plus signal which is emitted each time the variable state is changed (from true to false or vice versa.) They are useful in e.g. GUI design because you can specify a boolean expression, e.g. sensitivity or visibility, only once and not track when its state changes, which can be difficult at times. In other words, the condition itself and its state tracking are no longer separated and chances of programming error are significantly smaller. I volunteer to implement this if you are interested. Paul