Main Content

Implicit C(C++) compiler include paths

View implicit compiler include paths extracted from your build command

Since R2024b

Description

View implicit compiler include paths extracted from your build command. These include paths are added to your project only if you create a Polyspace® Platform project from your build command. For more information, see Add Sources from Build Command.

The implicit include folders form a part of the include search path in a Polyspace Platform project, in addition to the include folders added to the project using these options:

Set Option

User interface (Polyspace Platform, desktop products only): In your project configuration, the option is on the Build tab.

Why Use This Option

This option enables you to diagnose compilation errors during static analysis because of include files not found. If you encounter such a compilation error, check the list of include folders in your project configuration and make sure that the folder containing the supposedly missing include file has been added to the project.

If you create a project from your build command, include folders implicitly added by your compiler are listed under this option. When checking the list of include folders, you can check this list in addition to the list of include folders explicitly added in your build command and added to the options:

Settings

This is a read-only option. You cannot modify the include folders added for this option.

Version History

Introduced in R2024b