A patch from Alex <alexbodn@012.net.il>:
hi lauras,
i've used mss a lot, and it helped me with significant
leaks and memory related bugs location.
now i see you have improved mss (not yet used your
version), after i have waited a lot untill someone
would add my small contribution to mss (juan and peter
were too busy).
it's about a library to link against instead of mss, in
order to make faster executables (not using mss), but
with no need to compile again the whole project without
MSS defined. this helped me a lot, recompiling the
whole bunch of projects would take some 1/2 an hour,
and would be highly error prone.
the 2 appended files should make an alternate library,
libmss0.a for djgpp / linux. please incorporate it in
the mss release, so every mss user could benefit from it.
best regards,
alex
File 1/2
File 2/2
Logged In: YES
user_id=24239
Another e-mai from Alex:
<<Makefile>> <<cppspec0.cc>> <<mss0.c>>
hello friend,
thanks for your huge contribution for djgpp, of which i'm
one modest user
and contributor.
as i've noticed your improvements to mss, which i have used
a lot to debug
my programs, i dare contact you to distribute a small
contribution of mine
to it, as follows:
since i have a poor performing machine, and the mss logging
impact was very
high, i had to intermitently disable it's usage.
undefining mss from the top included header file would
require some 20
minutes compilation, enough time to forget the issue i
wished to do after
compilation.
my solution to do it faster was to create a library with
functions named
after the functions in libmss, but with no special mss
functionality, and
linking the whole application against the later lib instead
of libmss. of
course, mss should be undefined for real production performance.
please include my sources with mss (they really don't do
much). if you have
further improved makefile since mss 1.2.1, please diff
original against
mine.
i hope this my idea will prove useful for more users, and
will also releave
me from manually upgrading every new mss version.
best regards,
alex
<alexbodn@012.net.il>
Second version, file 1/3
Second
Second version, file 2/3
Second version, file 3/3