Merge branch 'feature/format-hint' into 'master'

Tools: Add hint to resolve [u]int32_t formatting errors

See merge request espressif/esp-idf!19296
This commit is contained in:
Ivan Grokhotkov 2022-08-02 22:41:06 +08:00
commit a0689f0434

View File

@ -39,3 +39,7 @@
-
re: "The keyword signature for target_link_libraries has already been used"
hint: "Projects using target_link_libraries with project_elf explicitly and custom CMake projects must specify PRIVATE, PUBLIC or INTERFACE arguments."
-
re: "format '([^']+)' expects argument of type '((unsigned )?int|long)', but argument (\\w+) has type '([u]?int32_t)'( {aka '([^']+)'})?"
hint: "The issue is better to resolve by replacing format specifiers to 'PRI'-family macros (include <inttypes.h> header file)."