[devel] Fwd: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1

Michael Shigorin =?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Сб Июл 1 23:01:27 MSD 2006


	Здравствуйте.
В kino-dev@ (gmane таки да) вот чего сказали; жду отмашки
по cvs или патча вот.

----- Forwarded message from Dan Dennedy <dan/dennedy.org> -----

Date: Fri, 30 Jun 2006 14:03:48 -0700
From: Dan Dennedy <dan/dennedy.org>
To: kino-dev/lists.sourceforge.net
Subject: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1
Cc: Michael Shigorin <shigorin/gmail.com>

On Friday 30 June 2006 11:25 am, Michael Shigorin wrote:
> sean <seandarcy2 <at> 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 <dan/dennedy.org> -----

Date: Fri, 30 Jun 2006 14:24:57 -0700
From: Dan Dennedy <dan/dennedy.org>
To: kino-dev/lists.sourceforge.net
Subject: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1
Cc: Michael Shigorin <shigorin/gmail.com>

On Friday 30 June 2006 2:03 pm, Dan Dennedy wrote:
> On Friday 30 June 2006 11:25 am, Michael Shigorin wrote:
> > sean <seandarcy2 <at> 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 <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/



Подробная информация о списке рассылки Devel