From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 1 Jul 2006 22:01:27 +0300 From: Michael Shigorin To: devel@lists.altlinux.org Message-ID: <20060701190127.GQ7360@osdn.org.ua> Mail-Followup-To: devel@lists.altlinux.org Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.1i Subject: [devel] Fwd: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1 X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 19:01:59 -0000 Archived-At: List-Archive: List-Post: Здравствуйте. В kino-dev@ (gmane таки да) вот чего сказали; жду отмашки по cvs или патча вот. ----- Forwarded message from Dan Dennedy ----- Date: Fri, 30 Jun 2006 14:03:48 -0700 From: Dan Dennedy To: kino-dev/lists.sourceforge.net Subject: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1 Cc: Michael Shigorin On Friday 30 June 2006 11:25 am, Michael Shigorin wrote: > sean gmail.com> writes: > > Rebuilding kino to use libiec61888: > > [...] > > > kino_common.h:319: error: previous declaration of > > 'KinoCommon* common' with 'C++' linkage > > preferences_dialog.cc:55: error: conflicts with new > > declaration with 'C' linkage > > Without libiec61888 (building in a chroot), the same trouble. gcc version > 4.1.1 20060619 (ALT Linux, build 4.1.1-alt3) There are few instances where 'extern KinoCommon *common' needs to be moved out of the containing 'extern "C" {}' block: preferences_dialog.cc page_capture.cc page_export.cc page_timeline.cc It is due to some new strictness of gcc. I hope I can get on a new version soon and head off some of these. I will commit the change to CVS soon, but can either you or Sean Darcy attempt the change? I am afraid there might be other, similar problems. Thanks. ----- End forwarded message ----- ----- Forwarded message from Dan Dennedy ----- Date: Fri, 30 Jun 2006 14:24:57 -0700 From: Dan Dennedy To: kino-dev/lists.sourceforge.net Subject: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1 Cc: Michael Shigorin On Friday 30 June 2006 2:03 pm, Dan Dennedy wrote: > On Friday 30 June 2006 11:25 am, Michael Shigorin wrote: > > sean gmail.com> writes: > > > Rebuilding kino to use libiec61888: > > > > [...] > > > > > kino_common.h:319: error: previous declaration of > > > 'KinoCommon* common' with 'C++' linkage > > > preferences_dialog.cc:55: error: conflicts with new > > > declaration with 'C' linkage > > > > Without libiec61888 (building in a chroot), the same trouble. gcc > > version 4.1.1 20060619 (ALT Linux, build 4.1.1-alt3) > > There are few instances where 'extern KinoCommon *common' needs to be moved > out of the containing 'extern "C" {}' block: > preferences_dialog.cc > page_capture.cc > page_export.cc > page_timeline.cc Sorry, this is not going to work. Rather, all extern KinoCommon* declarations need to be moved *into* extern "C" blocks: kino_common.h page_bttv.cc ieee1394io.cc page_editor.cc page_trim.cc storyboard.cc I checked some other global references like g_nav_ctl, main_window, and magick_glade, and they all appear to be ok. ----- End forwarded message ----- -- ---- WBR, Michael Shigorin ------ Linux.Kiev http://www.linux.kiev.ua/