Mail Archives: djgpp/2002/09/18/11:00:04
Hello everybody,
I have tried to use MSS library, Memory Supervision System, version
1.2.1, written by Juan Jesus Alcolea Picazo and Peter Palotas, which
allow the developer be able to detect a sort of bugs (memory leaks,
use of uninitialized memory, out of range block accesses, "wild" or
corrupted pointers, and more). But when I run 'make' it shows me the
next:
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
In file included from test1_1.cc:12:
../mss.h:167: declaration of `void* operator new(long unsigned int)'
throws
different exceptions
g:/djgpp/lang/cxx-v3/new:76: than previous declaration `void* operator
new(long
unsigned int) throw (std::bad_alloc)'
../mss.h:176: declaration of `void* operator new [](long unsigned
int)' throws
different exceptions
g:/djgpp/lang/cxx-v3/new:77: than previous declaration `void* operator
new
[](long unsigned int) throw (std::bad_alloc)'
test1_1.cc: In destructor `String::~String()':
test1_1.cc:62: cannot convert `const char[18]' to `char*' in
assignment
make.exe[1]: *** [../objs/djgpp/test1_1.o] Error 1
make.exe: *** [test] Error 2
Really, I undestand what happens and what it means. It seems that
DJGPP headers were changed since MSS was released. Maybe I have not
the latest version of MSS. Somebody know where can I downloaded the
workable compilable version? Or, can I change source of MSS without
violation of the licence?
Regards,
Alex
- Raw text -