www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/09/18/11:00:04

From: AYeryomin AT excelsior-usa DOT com (Alex Yeryomin)
Newsgroups: comp.os.msdos.djgpp
Subject: Memory Supervision System cannot be compiled
Date: 18 Sep 2002 07:50:19 -0700
Organization: http://groups.google.com/
Lines: 38
Message-ID: <96eb2770.0209180650.27bf5939@posting.google.com>
NNTP-Posting-Host: 212.164.176.30
X-Trace: posting.google.com 1032360620 22786 127.0.0.1 (18 Sep 2002 14:50:20 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 18 Sep 2002 14:50:20 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019