CMS Analysis Unit - Information - No Analysis Units are discovered while analyzing C or Cpp Code

Purpose

On analyzing C/C++ code,the analysis units are not discovered.

Since there is no project file, DMT won’t discover C/ C++ project.
However, you can add manually analysis unit for C/C++ technology in CAST-MS.

For CAST AIP 8.2 and 8.3  there is  C or CPP file discoverer present  which can discover the files and create the analysis unit automatically. This is more robust and is the correct way of creating the analysis unit(s).

Please refer C and Cpp File Discoverer and CPP Compilation Database Discoverer

Applicable in CAST Version
Release
Yes/No
8.3.x(tick) 
8.2.x(tick) 
8.1.x(tick) 
8.0.x (tick) 
7.3.x(tick)
7.2.x(tick)
7.0.x(error)
Applicable RDBMS
RDBMS
Yes/No
Oracle Server(tick)
Microsoft SQL Server(tick)
CSS2(tick)
CSS1(error)
Details
  1. In CMS, after “Set as current version” Click on Current version tab.
  2. Click on the + sign to Add Analysis units : “Add New C/C++ Analysis Unit”.

  3. In the source settings tab, click on Source “Include Source folder”, which will point to the root folder of the generated package.

  4. Click on analysis tab : here if required, you can add header files or macros.
  5. Save and run analysis
Notes/comments


Related Pages

Webcall- 28426