From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 8 Dec 2006 18:11:20 +0300 From: Sergey Vlasov To: Devel@lists.altlinux.org Message-ID: <20061208151120.GP5381@master.mivlgu.local> Mail-Followup-To: Devel@lists.altlinux.org References: <457978FE.2090304@altlinux.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A2x6GFCQWVc4i5ud" Content-Disposition: inline In-Reply-To: <457978FE.2090304@altlinux.ru> Subject: Re: [devel] parse error in template argument list X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 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: Fri, 08 Dec 2006 15:11:36 -0000 Archived-At: List-Archive: List-Post: --A2x6GFCQWVc4i5ud Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 08, 2006 at 04:38:54PM +0200, Slava Dubrovskiy wrote: > =EE=C1=D4=CB=CE=D5=CC=D3=D1 =CE=C1 =D4=C1=CB=D5=C0 =D3=C9=D4=D5=C1=C3=C9= =C0 =D0=D2=C9 =D3=C2=CF=D2=CB=C5 firebird. =F7=CF=D4 =D0=D2=C9=CD=C5=D2: >=20 > $cat test.cpp >=20 > #include >=20 > template > class Stack > { > private: > void* stk; > void* stk_cache; >=20 > public: > explicit Stack() > : stk(0), stk_cache(0) { } >=20 > Stack() > : stk(0), stk_cache(0) { } >=20 > ~Stack() =E1 =C5=D3=CC=C9 =D4=D5=D4 =D7=C5=DA=C4=C5 =CE=C1=D0=C9=D3=C1=D4=D8 =D7=CD= =C5=D3=D4=CF Stack =D0=D2=CF=D3=D4=CF Stack (=C2=C5=DA =D1=D7=CE=CF=C7=CF =D5=CB=C1=DA=C1=CE=C9=D1 =D0=C1=D2=C1=CD=C5=D4=D2=CF=D7)? > { > delete stk; > delete stk_cache; > } > }; // class Stack >=20 > int main(int argc, char* argv) > { > return(0); > } >=20 > $ g++-3.4 -o test test.cpp > $ g++-4.1 -o test test.cpp > test.cpp:17: error: parse error in template argument list >=20 > $ rpm -qa | grep gcc > gccmakedep-1.0.1-alt1 > gcc4.1-doc-4.1.1-alt10 > gcc-c++-common-1.4.10-alt1 > gcc3.4-3.4.5-alt6 > gcc-common-1.4.10-alt1 > gcc3.4-c++-3.4.5-alt6 > libgcc4.1-4.1.1-alt10 > gcc4.1-c++-4.1.1-alt10 > gcc4.1-4.1.1-alt10 =E1 4.1.1-alt9 =D3=CF=C2=C9=D2=C1=C5=D4 =C9 =D7 =D4=C1=CB=CF=CD =D7=C9=C4= =C5... --A2x6GFCQWVc4i5ud Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFFeYCYW82GfkQfsqIRAglBAJ9KWmScG4IWBQRUfJO8T2Eat+WAWgCeMEb7 9mOwPkbqWE+WasrooP8A5Yo= =M7Gf -----END PGP SIGNATURE----- --A2x6GFCQWVc4i5ud--