Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 8.5 - #define with function code in header files
#2
Header files which contain the typedef for a struct do not violate rule 8.5.

We are unclear what is meant to be "a macro that generates the body of one function", and so can not comment on that part of the question without an example.
Posted by and on behalf of the MISRA C Working Group
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)