From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 18 Jun 2006 15:39:38 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20060618113938.GE631@localhost.localdomain> Mail-Followup-To: ALT Devel discussion list References: <20060618085935.GA14856@tacit.myxomop.com> <20060618104152.GB631@localhost.localdomain> <20060618112415.GD631@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2qXFWqzzG3v1+95a" Content-Disposition: inline In-Reply-To: <20060618112415.GD631@localhost.localdomain> Subject: Re: [devel] =?koi8-r?b?ztXWzsEg0M/Nz93YICjQz8jP1sUsIC0tYXMtbmVlZGVk?= =?koi8-r?b?KQ==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 11:38:41 -0000 Archived-At: List-Archive: List-Post: --2qXFWqzzG3v1+95a Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 `_ZN11SmartVecto= rIT_T0_E10no_elementE' > > .libs/mql_yylex.o:(.data+0x0): first defined here >=20 > =F0=D2=C9=DE=C5=CD: >=20 > $ c++filt _ZN11SmartVectorIT_T0_E10no_elementE > _ZN11SmartVectorIT_T0_E10no_elementE > $ >=20 > =F3=C9+=D0=CC=C0=D3 =C7=CC=C0=DE=C9=D4? (=EB=CF=D4=CF=D2=D9=CA 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 m_vec; bool m_bDelete; public: - static const short int no_element; + static const short int no_element =3D -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(); }; }; =20 -template const short int SmartVector::no_element = =3D -1; +//template const short int SmartVector::no_element = =3D -1; =20 template SmartVector::~SmartVector(void) { --2qXFWqzzG3v1+95a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFElTt6fBKgtDjnu0YRAkZ6AKC4Nok1QHFFv2lZUGznFxY6cvWRnACgssz5 u6Uj3IjHzibWpTRdfHMY9NE= =cCcc -----END PGP SIGNATURE----- --2qXFWqzzG3v1+95a--