From: Olivier Koch (koch++at++graphics.lcs.mit.edu)
Date: 06/12/2002 05:37:13
Hi, I am running Purify 4.1 on Irix 6.5. Running Purify is successful.
However, I have a problem.
When I run Purify with no .purify file, I get 50 errors : UMR and FMM.
They are all due to the iterator library (stl). The program exits with
status code -1. Since I am not responsible for the iterator library, I
have decided to suppress these errors by creating the following .purify
file :
suppress UMR "*.h"
suppress FMM "*.h"
suppress FMM "*.cxx"
suppress FMM "*.c"
Since my code is only in *.cpp and *.hpp files, I should get only my own
errors. However, when I run Purify with this .purify file, I get 0 errors
and the program still exits with status code -1.
How can I ask Purify to ignore the iterator library and to work on my code
only ? How can I have more information about the exit status ? Indeed,
there is no explanation about why the program exited with status code -1.
Last question : my code is included in several *.cpp and *.hpp files. I
compile with a Makefile file. How should I run Purify ? Should I run
Purify only on the main program, or should I run Purify at each step of
compilation ?
I hope all of this makes sense. The samples I have found on the web were
not very useful, since they are limited to very simple examples.
Thanks a lot in advance.
Best,
Olivier Koch
-- koch++at++graphics.lcs.mit.edu
This archive was generated by hypermail 2b29 : Wed Jun 12 2002 - 06:49:36 PDT