Bug#46550: #46550 has re-appeared
reopen 46550
stop
This bug has reappeared at some point in the intervening years (in
libstdc++2.10-dev 2.95.4-11woody now).
Here's a patch to /usr/include/g++-3/std/bastring.h to put it back
right again.
ttfn/rjk
--- bastring.h.orig Sun Jun 8 22:47:05 2003
+++ bastring.h Sun Jun 8 22:47:11 2003
@@ -335,7 +335,7 @@
public:
const charT* c_str () const
- { const charT* null_str = "";
+ { static const charT null_str[];
if (length () == 0) return null_str; terminate (); return data (); }
void resize (size_type n, charT c);
void resize (size_type n)
Reply to: