8.5 and a C99 Extension

6.8 Declarations and Definitions

Moderators: misra-c, david ward

Posts: 87
Joined: Thu Nov 18, 2004 1:39 am

8.5 and a C99 Extension

Post by gs » Tue Oct 03, 2006 2:26 pm

I use 'inline' within my code. Not wanting to go into any details, let us just suffice it to say I feel sufficient reason exists for me to do so. Does 8.5 apply to inline functions? Does the use of 'inline' supercede the restriction of 0 function definitions per header?

Posts: 572
Joined: Thu Jan 05, 2006 1:11 pm

Post by misra-c » Tue Nov 21, 2006 3:10 pm

MISRA-C Steering Meeting - 7th November 2006

MISRA-C:2004 will require
(a) deviation against 1.1 for the use of an extension to C90, and
(b) deviation against 8.5 for the definitions in each header file.
Posted by and on behalf of
the MISRA C Working Group


Return to “6.8 Declarations and Definitions”