Date: Sun, 17 Jun 2001 04:45:58 -0700 (PDT) From: <schweikh@FreeBSD.org> To: ganssauge@gmx.de, schweikh@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: gnu/18672: std::basic_string<unsigned char>::c_str() doesn't compile Message-ID: <200106171145.f5HBjwC03206@freefall.freebsd.org>
index | next in thread | raw e-mail
Synopsis: std::basic_string<unsigned char>::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 <string>
typedef unsigned char BYTE;
typedef basic_string<BYTE> 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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106171145.f5HBjwC03206>
