From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Fwd: pingus-0.6.0-alt7: rebuild failed
Date: Sun, 14 May 2006 21:02:17 +0400
Message-ID: <20060514170217.GC18012@procyon.home> (raw)
In-Reply-To: <20060514164958.GA5844@abr.pp.ru>
[-- Attachment #1: Type: text/plain, Size: 757 bytes --]
On Sun, May 14, 2006 at 08:49:58PM +0400, Andrey Brindeew wrote:
> sprite_drawable.hxx:49: error: invalid abstract return type for member function 'WorldMapNS::SpriteDrawable WorldMapNS::SpriteDrawable::operator=(const WorldMapNS::SpriteDrawable&)'
Нормальный operator= должен возвращать ссылку, а не копию объекта.
Т.е., объявление в классе должно выглядеть примерно так:
SpriteDrawable& operator=(const SpriteDrawable& x);
(сейчас первого & там не хватает). Соответственно необходимо
исправить и реализацию, если она в отдельном файле.
> sprite_drawable.hxx:31: note: because the following virtual functions are pure within 'WorldMapNS::SpriteDrawable':
> drawable.hxx:71: note: virtual float WorldMapNS::Drawable::get_z_pos() const
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
prev parent reply other threads:[~2006-05-14 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-14 16:49 Andrey Brindeew
2006-05-14 17:02 ` Sergey Vlasov [this message]
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=20060514170217.GC18012@procyon.home \
--to=vsu@altlinux.ru \
--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