...
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-C |
| 0434 (C) | Fully implemented | ||||||
1302 | |||||||||
2050 | |||||||||
2051 | |||||||||
3335 |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...
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
...