From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29437 invoked by alias); 9 Aug 2003 10:31:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29423 invoked from network); 9 Aug 2003 10:31:55 -0000 Received: from unknown (HELO gate.algorithm.aelita.com) (212.176.18.2) by sources.redhat.com with SMTP; 9 Aug 2003 10:31:55 -0000 Received: from bagman.edm.com ([10.0.0.4]) by gate.algorithm.aelita.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with ESMTP id com for ; Sat, 9 Aug 2003 14:31:41 +0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Subject: Is it a bug? Date: Sat, 09 Aug 2003 10:31:00 -0000 Message-ID: <3F6F4712B759A34ABD453A8B39C10D62CCA8D1@bagman.edm.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Lev Assinovsky" To: X-SW-Source: 2003-08/txt/msg01189.txt.bz2 List-Id: Hi all! I tried to build the following program in HP-UX 11.00 using gcc 3.2.3: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D cut here =3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #include template struct ACharTraits: public std::char_traits { }; typedef char TCHAR; std::basic_string, std::allocator > s("aaa= a"); int main() { =20=20=20=20 } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D cut here =3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AND GOT: -bash-2.05b$ g++ -o tstr tstr.cpp /usr/ccs/bin/ld: Unsatisfied symbols: std::basic_string, std::allocator >::_Rep:= :_S_terminal(first referenced in /var/tmp//cctBl474.o) (data) std::basic_string, std::allocator >::_Rep:= :_S_max_size(first referenced in /var/tmp//cctBl474.o) (data) collect2: ld returned 1 exit status IS IT A BUG? Sincerely,=20 ---- Lev Assinovsky Aelita Software Corporation O&S Core Division, Programmer ICQ# 165072909