Bug#151618: g++-3.1: Rope apparently moved out of std.
Package: g++-3.1
Version: 1:3.1.1-0pre2
Severity: normal
This code compiled in gcc-3.0 and fails in gcc-3.1 claiming that class
rope is not to be found in std.
#include <stdio.h>
#include <unistd.h>
#include <ext/rope>
int main (int, char**)
{
std::rope<char> r;
char sz[] =
"Now is the time for all good men to come to the aid of their party.\n"
"Now is the time for all good men to come to the aid of their party.\n"
"Now is the time for all good men to come to the aid of their party.\n"
"Now is the time for all good men to come to the aid of their party.\n";
r.append (sz, strlen (sz));
while (r.size ()) {
printf ("%d\n", r.size ());
r.erase (0,50);
}
exit (0);
}
-- System Information
Debian Release: 3.0
Kernel Version: Linux florence 2.4.17 #2 SMP Sun Jan 6 11:01:58 PST 2002 i686 unknown
Versions of the packages g++-3.1 depends on:
ii gcc-3.1 3.1.1-0pre2 The GNU C compiler.
ii gcc-3.1-base 3.1.1-0pre2 The GNU Compiler Collection (base package).
ii libc6 2.2.5-6 GNU C Library: Shared libraries and Timezone
ii libstdc++4-dev 3.1.1-0pre2 The GNU stdc++ library version 3 (developmen
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: