From owner-freebsd-bugs Sun Jun 17 4:46: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0041937B407; Sun, 17 Jun 2001 04:45:58 -0700 (PDT) (envelope-from schweikh@FreeBSD.org) Received: (from schweikh@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5HBjwC03206; Sun, 17 Jun 2001 04:45:58 -0700 (PDT) (envelope-from schweikh) Date: Sun, 17 Jun 2001 04:45:58 -0700 (PDT) From: Message-Id: <200106171145.f5HBjwC03206@freefall.freebsd.org> To: ganssauge@gmx.de, schweikh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: gnu/18672: std::basic_string::c_str() doesn't compile Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: std::basic_string::c_str() doesn't compile State-Changed-From-To: open->feedback State-Changed-By: schweikh State-Changed-When: Sun Jun 17 04:44:07 PDT 2001 State-Changed-Why: I can't reproduce this. Instead the script produces this on -current: schweikh@hal9000:~/tmp $ ./tst + cat x.cc # include typedef unsigned char BYTE; typedef basic_string bstring; const BYTE *get_cstbstring const &s) { returns.c_st)); } + c++ -c x.cc x.cc:6: syntax error before `const' http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18672 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message