Implicit C(C++) compiler defines
View implicit compiler defines extracted from your build command
Since R2024b
Description
View implicit compiler defines extracted from your build command. These defines 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 defines, together with the defines listed for the option Preprocessor definitions (-D)
, form the full list of predefined macros available in a Polyspace Platform configuration.
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 static analysis compilation errors related to predefined macros.
If you create a project from your build command, macros implicitly predefined by your compiler are listed under this option. When checking the list of predefined macros, you can check this list in addition to the list of macros explicitly defined in your build command and added to the option Preprocessor definitions (-D)
. These macros are considered as defined when you run static analysis using Bug Finder or Code Prover, or parse code for auto-populating test
information.
Settings
This is a read-only option. You cannot modify the predefined macros added for this option.
Version History
Introduced in R2024b