ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Fwd: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1
@ 2006-07-01 19:01 Michael Shigorin
  2006-07-02 13:04 ` Vitaly Lipatov
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Shigorin @ 2006-07-01 19:01 UTC (permalink / raw)
  To: devel

	Здравствуйте.
В 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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-02 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-01 19:01 [devel] Fwd: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1 Michael Shigorin
2006-07-02 13:04 ` Vitaly Lipatov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git