[previous] 0914 [next] [U] Source file does not end with a newline character.
Explicitly undefined REFERENCE - ISO:C90-5.1.1.2 Translation Phases

This source file does not end with an end-of-line indicator. Depending of the environment, an end-of-line indicator is usually represented by either a line-feed character or else a carriage return character followed by a line-feed character.

A file must not end with an unterminated source line, even if the line contains only white-space characters.


MISRA-C:2004 Rules applicable to message 0914:

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