You can suppress messages in the Viewer during or after a run of your program. You can also suppress messages before you run a program by prestarting the Viewer.
To suppress an error message in the Viewer:
Select the message you want to suppress.
Select
Options > Suppressions.
This opens a Suppressions dialog containing information about the selected
message.
Suppressions created in the Viewer take precedence over suppressions in .purify files. However, they apply to the current Purify session only. Unless you click Make permanent, they do not remain when you restart the Viewer.
For Where to suppress, you can select:
In call chain: Suppresses a message in a specific call chain. Use the slider to change the number of functions to match against.
In file: Suppresses a message in the source or object file containing the last function in the call chain.
In
library: Suppresses a message in the library containing the last
function called in the call chain. This option is available only if the
function is obtained from an archive or a shared library.
Note:
Do not suppress errors in
third-party code unless you are sure that the library itself is at fault.
Often, errors that appear in library functions are caused by a program's
misuse of those functions, or misinterpretation of the programming interface.
If you are sure the library is at fault, report it to the library vendor.
In class: For C++ member functions, this suppresses messages in the class containing the last member function in the call chain.
Everywhere: Suppresses the message in all locations where it occurs.
To make a suppression permanent, click Make permanent in the Suppressions dialog. This saves the specified suppression directive to the ./.purify file.
To save a suppression directive to another .purify file and have it also apply to the current program: