ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitriy M. Maslennikov" <maslennikovdm@gmail.com>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] dangerdeep-0.2.0-alt2: i586 rebuild failed [4]
Date: Tue, 25 Nov 2008 13:00:45 +0300
Message-ID: <47c0071b0811250200w16fd80aase2c94b28eeae8909@mail.gmail.com> (raw)
In-Reply-To: <921f6bb40811250154v34a32ce0k666add92bf05bbc@mail.gmail.com>

25 ноября 2008 г. 12:54 пользователь Evgeny Sinelnikov
<sin@altlinux.ru> написал:
>>> g++ -o build/linux/ai.o -c -Wall `sdl-config --cflags` -pipe -Wall -O2 -march=i586 -mtune=i686 -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ai.cpp
>>> In file included from src/ai.cpp:26:
>>> src/convoy.h:48: error: ISO C++ forbids declaration of 'auto_ptr' with no type
>>> src/convoy.h:48: error: invalid use of '::'
>>> src/convoy.h:48: error: expected ';' before '<' token
>>> src/convoy.h: In member function 'virtual ai* convoy::get_ai()':
>>> src/convoy.h:86: error: 'myai' was not declared in this scope
>>> In file included from src/ai.cpp:27:
>>> src/sea_object.h: At global scope:
>>> src/sea_object.h:176: error: ISO C++ forbids declaration of 'auto_ptr' with no type
>>> src/sea_object.h:176: error: invalid use of '::'
>>> src/sea_object.h:176: error: expected ';' before '<' token
>>> src/sea_object.h: In member function 'virtual ai* sea_object::get_ai()':
>>> src/sea_object.h:268: error: 'myai' was not declared in this scope
>>> scons: building terminated because of errors.
>>> scons: *** [build/linux/ai.o] Error 1
>>
>
> Если это всё, там перед "auto_ptr" нужно поставить "std::", как я полагаю.
Скорее заголовочного файла не хватает.

-- 
Dmitriy M. Maslennikov
rlz@etersoft.ru
rlz@altlinux.org
maslennikovdm@gmail.com
master@armory.ru

  reply	other threads:[~2008-11-25 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25  7:38 ` Michael Shigorin
2008-11-25  9:54   ` Evgeny Sinelnikov
2008-11-25 10:00     ` Dmitriy M. Maslennikov [this message]
2008-11-25 10:24   ` Alexander Myltsev

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=47c0071b0811250200w16fd80aase2c94b28eeae8909@mail.gmail.com \
    --to=maslennikovdm@gmail.com \
    --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