Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
7-3-1 declarations and definitions
#2
What you're written is compliant, but not what the rule intended. The intent of the rule was that no functions would be declared at global scope, other than main or those imported from C libraries using extern "C"
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)