ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] нужна помощь (похоже, --as-needed)
Date: Sun, 18 Jun 2006 15:39:38 +0400
Message-ID: <20060618113938.GE631@localhost.localdomain> (raw)
In-Reply-To: <20060618112415.GD631@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1164 bytes --]

On Sun, Jun 18, 2006 at 03:24:15PM +0400, Alexey Tourbin wrote:
> On Sun, Jun 18, 2006 at 02:41:52PM +0400, Alexey Tourbin wrote:
> > .libs/mql_parser.o:(.data+0x0): multiple definition of `_ZN11SmartVectorIT_T0_E10no_elementE'
> > .libs/mql_yylex.o:(.data+0x0): first defined here
> 
> Причем:
> 
> $ c++filt _ZN11SmartVectorIT_T0_E10no_elementE
> _ZN11SmartVectorIT_T0_E10no_elementE
> $
> 
> Си+плюс глючит?  (Который alt2.)

--- ./include/smart_vector.h-	2006-06-18 10:22:11 +0000
+++ ./include/smart_vector.h	2006-06-18 11:37:28 +0000
@@ -126,7 +126,7 @@ private:
   std::vector<T*> m_vec;
   bool m_bDelete;
 public:
-  static const short int no_element;
+  static const short int no_element = -1;
   SmartVector(bool bDelete) : m_bDelete(bDelete) {};
   ~SmartVector(void);
   // Returns index of value
@@ -137,7 +137,7 @@ public:
   short int size(void) const { return m_vec.size(); };
 };
 
-template<class T, class P> const short int SmartVector<T,P>::no_element = -1;
+//template<class T, class P> const short int SmartVector<T,P>::no_element = -1;
 
 template <class T, class P> SmartVector<T,P>::~SmartVector(void)
 {

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-06-18 11:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-18  8:59 Kirill Maslinsky
2006-06-18 10:41 ` Sergey Vlasov
2006-06-18 11:06   ` Alexey Tourbin
2006-06-18 10:41 ` Alexey Tourbin
2006-06-18 11:24   ` Alexey Tourbin
2006-06-18 11:39     ` Alexey Tourbin [this message]
2006-06-18 11:51 ` Alexey Tourbin
2006-06-18 11:55   ` Alexey Tourbin
2006-06-18 13:42   ` Kirill Maslinsky
2006-06-18 13:53     ` Alexey Tourbin
2006-06-18 14:08       ` Kirill Maslinsky
2006-06-18 15:31         ` Alexey Tourbin
2006-06-18 19:36         ` Alexey Tourbin
2006-06-18 20:02           ` Kirill Maslinsky
2006-06-18 22:13             ` Alexey Tourbin
2006-06-19  9:54               ` Kirill Maslinsky
2006-06-19 11:38                 ` Alexey Tourbin
2006-07-08 20:34                 ` Alexey Tourbin
2006-07-08 22:08                   ` Kirill Maslinsky
2006-07-08 22:45                     ` Alexey Tourbin

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=20060618113938.GE631@localhost.localdomain \
    --to=at@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