I had submitted two testcases to show the problem in the stdc++ library,
but I forgot to add that this bug only turns up with a certain warning
activated:
[EMAIL PROTECTED]:~/testcase$ g++ -Wcast-align -o foo doesnt-work.cpp
/usr/lib/gcc/ia64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/basi
Well, I forgot the attachments in the previous mail.
Here they are.
--
Love,
Marga
#include
#include
using namespace std;
int main (int argc, char *argv) {
string hi;
hi = "Hi";
return 0;
}
#include
using namespace std;
int main (int argc, char *argv) {
string hi;
hi = "Hi"
it should work. It should not need the classes to be
in a certain package, if they are in the same directory.
I can provide the files if it seems necessary.
Love,
Margarita Manterola
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testin
close 224735
thanks
Hola Daniel Jacobowitz!
> The string class does manage a certain amount of memory on its own. I
> seem to recall this fooling memory leak analyzers before.
Actually this seems to be the case, although it's not only the string
class, but the whole STL. This was brought to my
ed that this really
looked as a bug in the standard library.
I hope you can have a look at it.
Love,
Margarita Manterola
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux hormiga.amadeus 2.4.19-686 #1 Mon Nov 18 23:59:03 EST 2002 i686
Locale: LANG=es_AR
5 matches
Mail list logo