This message is generated when the indicated expression is expected to be an integer or a list of integers.
This message can occur when compiling functions such as Part in which some of the arguments can be either integers or lists of integers.
If the symbolic part specification will evaluate to an integer or a list of integers, that information can be included in the third argument of Compile.
Off[message] switches off the message; On[message] switches it on. For example: Off[Compile::cpintlt].
Examples
Basic Examples(1)
An error occurs because the symbolic part specification is not an integer:
The symbolic part specification will evaluate to an integer or a list of integers: