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.

22 lines
689 B

---
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
## List of Issue Types
The following issue types are reported by this checker:
- [CHECKERS_PRINTF_ARGS](/docs/next/all-issue-types#checkers_printf_args)