Warning Identifier Cannot be Made Public

Type: Selection

Range: The settings listed below

Default: Common_warning_default

Local symbols of procedures cannot be made public. Indices and parameters declared as part of a set cannot be made public by themselves, they are made public when their set range is made public. Prefixes, tags and declaration sections cannot be made public. Declarations in local modules that are not made public by that module cannot be made public by the encompassing module. When any of the above identifiers appear in the public attribute of a module, a warning is issued. Possible values are:

  • Off

Do not issue a warning.

  • Warning_collect

Issue a warning and post it to the global error and warning collector.

  • Common_warning_default

Take action depending on the option ‘Common warning default’.

  • Warning_handle

Issue a warning and post it to the nearest error handler.

  • Strict_warning_default

Take action depending on the option ‘Strict warning default’.

  • Error

Issue an error.

  • Error_in_develop_else_warning

In a developer system same as Error, in a deployment system same as Warning_handle

  • Error_in_develop_else_off

In a developer system same as Error, in a deployment system same as Off

  • Warning_in_develop_else_off

In a developer system same as Warning_handle, in a deployment system same as Off

Note

  • With the option Maximal Number of Warnings Reported you can set the maximal number of warnings that are shown in errors/warnings and message window.

Learn more about