[previous] 0864 [next] [U] '#line' directive specifies line number which is not in the range 1 to 32767.
Explicitly undefined REFERENCE - ISO:C90-6.8.4 Line Control - Semantics

The line number following a #line directive must be in the range 1 to 32767.

For example:


/*PRQA S 553,830,878,2017,3118 ++*/

#line 45                /* OK           */
#line 65 "ABC"          /* OK           */
#line                   /* Message 0863 */
#line 40000             /* Message 0864 */
#line 32+33             /* Message 0865 */
#line 75 L"ABC"         /* Message 0865 0866 */
#line "ABC" 74          /* Message 0867 */


MISRA-C:2004 Rules applicable to message 0864:

Rule  1.2  (Required) No reliance shall be placed on undefined or unspecified behaviour.


See also:

QA·C Source Code Analyser 8.1
MISRA-C:2004 Compliance Module 3.2
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA-C:2004 Rule Index Contents