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

pull/9485/head
Alexey Lapshin 2022-07-29 14:52:09 +04:00
rodzic fde4afc67a
commit 5fb109f2e8
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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)."