Basic walk-through
Before you start
Install necessary SDKs in the system and configure the SDKs in Carbide.c++. To configure the SDKs, go to: Windows > Preferences
> Carbide.c++ > SDK Preferences > Add New SDK menu, and select the item
to be added.
You can start the tool in any of the following ways:
- from Carbide > Compatibility Analyser
- from Window > Show View > Other... > Carbide Extensions
- by right-clicking your EXE or DLL project in the Project Explorer and
selecting Compatibility Analyser > Run static analysis for this project...
- by right-clicking any folder in your project and selecting:
- Compatibility Analyser > Run static analysis for this directory in
project... to fetch all header files and their corresponding .dsos from
the selected folder.
- Compatibility Analyser > Run static analysis for this project... to
fetch header files, user and system Includes, project exports and forced headers
from the parent project.
Compatibility analysis involves the following steps:
- Select the analysis type,
baseline profile and the current SDK. The baseline is the point of comparison
(that is, an older SDK) against which the current SDK is evaluated.
- Select header
files for analysis and/or
selecting library files for analysis.
- Configure report file
options.
- (optional) Configure the knownissues.xml
file that is used to filter the found issues against known issues
in the platform.
- (optional) Save
the analysis configuration into a file for later use.
- View the reports in a
browser or an XML editor.
- (optional) Filter
existing reports.