![]() |
![]() |
3239 | ![]() |
||||
![]() | |||||||
| Explicitly undefined | REFERENCE - ISO:C99-6.7.4 Function specifiers - Semantics | ||||||
An inline function is being declared but no definition has been found for it within this translation unit. Behaviour will be undefined. For example:
/*PRQA S 1055,2017,3120,3210,3408 ++*/
inline int fin(int a, int b); /* 3239 */
extern int foo(int r)
{
r = r + fin(1, 2);
return r;
}
MISRA C:2012 Rules applicable to message 3239:
| Rule-1.3 (Required) | There shall be no occurrence of undefined or critical unspecified behaviour |
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index | Contents |