ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel@lists.altlinux.org
Subject: [devel] Fwd: Re: [Kino-dev] kino-0.9.0 build fails on gcc-4.1.1
Date: Sat, 1 Jul 2006 22:01:27 +0300
Message-ID: <20060701190127.GQ7360@osdn.org.ua> (raw)

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


             reply	other threads:[~2006-07-01 19:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-01 19:01 Michael Shigorin [this message]
2006-07-02 13:04 ` Vitaly Lipatov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060701190127.GQ7360@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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