You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
699 B
23 lines
699 B
4 years ago
|
---
|
||
|
title: "`printf()` Argument Types"
|
||
|
description: "Detect mismatches between the Java `printf` format strings and the argument types For example, this checker will warn about the type error in `printf(\"Hello %d\", \"world\")`"
|
||
|
---
|
||
|
|
||
|
Detect mismatches between the Java `printf` format strings and the argument types For example, this checker will warn about the type error in `printf("Hello %d", "world")`
|
||
|
|
||
|
**\*\*\*DEPRECATED\*\*\*** Unmaintained.
|
||
|
|
||
|
Activate with `--printf-args`.
|
||
|
|
||
|
Supported languages:
|
||
|
- C/C++/ObjC: No
|
||
|
- Java: Yes
|
||
|
- C#/.Net: Yes
|
||
|
|
||
|
|
||
|
|
||
|
## List of Issue Types
|
||
|
|
||
|
The following issue types are reported by this checker:
|
||
|
- [CHECKERS_PRINTF_ARGS](/docs/all-issue-types#checkers_printf_args)
|