Using Apple Computer, Inc. GCC version 1200, based on gcc version 3.3 
20020824 (experimental)

Try compiling and running the microprogram below with the link flag 
-lMallocDebug for the error:

MallocDebug: free: target application attempted to free pointer that is 
not pointing to a malloc block: 0x143430

Is there a workaround? Have I missed something out?

#include <sstream>
using namespace std;
int main () {
        ostringstream foo;
        foo << 42;
        return 0;
}

Reply via email to