...
Tool | Version | Checker | Description | GCC | |||||
---|---|---|---|---|---|---|---|---|---|
Include Page | GCC_V | GCC_V |
| Warns about inconsistently typed arguments to formatted output functions when the | |||||
Compass/ROSE |
|
| Does | NOT not currently detect violations of this recommendation. Although the recommendation in general cannot be automated, because of the difficulty in enforcing contracts between a variadic function and its invokers, it would be fairly easy to enforce type correctness on arguments to the | |||||
GCC |
|
| Warns about inconsistently typed arguments to formatted output functions when the | ||||||
| 41 S | Partially implemented. | |||||||
PRQA QA-C |
| 0179 (U) | Partially implemented. |
...
ISO/IEC TR 24772 | Type system [IHN] and Subprogram signature mismatch [OTR] |
---|---|
MISRA-C | Rule 16.1 |
Bibliography
[ISO/IEC 9899:2011] | Section 6.5.2.2, "Function Calls," and section 7.16, "Variable Arguments"(required): Functions shall not be defined with a variable number of arguments |
---|