Viva64 Send comments on this topic.
Settings: Exclude

Glossary Item Box

On Exclude from analysis page of the Viva64 settings you can enter some information about libraries, inclusions from its files do not have to be analyzed (by means of #include directive). You may need this to reduce the number of unnecessary diagnose messages.

Now we'll illustrate the use of this setting with an example. Let's assume that you're analyzing a project which (among other things) uses a library code, for instance MyLib and BrotherLib. These libraries might be written without taking into account 64-bit code, that's why the analyzer would send lots of messages about errors in these libraries. However, you are sure that the errors in them are not important and you would not like to receive diagnosis for them.

These libraries are sure to have got their own header files to include. Somewhere in your project there is a code of the following type:

#include <MyLib.h>
#include <BrotherLib.h>

Settings: Exclude

In such cases the analyzer may send unnecessary diagnoses, though this information is not essential. Then you can define for the analyzer the total path to the library (it must contain even the disc name letter!). Then the analyzer won't send the messages about errors found in these libraries.