‑‑deprecated_feature_warnings
Syntax
‑‑deprecated_feature_warnings=[+|-]feature[,[+|-]feature,...]
Parameters
| A feature can be |
Description
Use this option to disable or enable warnings for the use of a deprecated feature. The deprecated features are:
attribute_syntaxSee ‑‑uniform_attribute_syntax, ‑‑no_uniform_attribute_syntax, and Syntax for type attributes used on data objects.
preprocessor_extensionssegment_pragmasSee the pragma directives
dataseg,constseg, andmemory. Use the#pragma locationand#pragma default_variable_attributesdirectives instead.
Because the deprecated features will be removed in a future version of the IAR C/C++ compiler, it is prudent to remove the use of them in your source code. To do this, enable warnings for a deprecated feature. For each warning, rewrite your code so that the deprecated feature is no longer used.
Caution
To set this option, use Project>Options>C/C++ Compiler>Extra Options.