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.
24 lines
717 B
24 lines
717 B
3 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
|
||
|
- C#/.Net: Yes
|
||
|
- Erlang: No
|
||
|
- Java: Yes
|
||
|
|
||
|
|
||
|
|
||
|
## List of Issue Types
|
||
|
|
||
|
The following issue types are reported by this checker:
|
||
|
- [CHECKERS_PRINTF_ARGS](/docs/next/all-issue-types#checkers_printf_args)
|