...
For more information on function declarations, see DCL07-C. Include the appropriate type information in function declarators.
Noncompliant Code Example (Implicit Return Type)
...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
GCC |
|
| Can detect violations of this rule when the | ||||||
Compass/ROSE |
|
|
| ||||||
| IF_MISS_DECL RETVOID.IMPLICIT |
| |||||||
| 24 D | Fully implemented. | |||||||
| decltype | Fully implemented. | |||||||
PRQA QA·CQA-C |
| Fully implemented |
...
ISO/IEC 9899:2011 Section 6.7.2, "Type specifiers," and section 6.5.2.2, "Function calls"
ISO/IEC TR 24772 "OTR Subprogram signature mismatch"
Sources
...